help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

solaris - bad asm with gcc 3.4.1


From: Jonathan Graehl
Subject: solaris - bad asm with gcc 3.4.1
Date: 15 Jul 2004 18:56:42 -0700

I recently built gcc 3.4.1 for two old redhat and solaris systems.  My
code builds fine on the linux g++, but gives some bad assembly opcodes
on the solaris one.  What's wrong with my asm specs?  Note that most
source files build fine (the bad opcode must be fairly rare). 
Obviously I've searched for an answer already ;)

(I can also give details such as the source files, but that shouldn't
be necessary)

/usr/ccs/bin/as: "/var/tmp//ccrRhpyB.s", line 602: error: unknown
opcode "int"
/usr/ccs/bin/as: "/var/tmp//ccrRhpyB.s", line 602: error: statement
syntax

$ g++ -v
Reading specs from 
/home/graehl/isd/solaris/lib/gcc/sparc-sun-solaris2.8/3.4.1/specs
Configured with: ../configure --prefix=/home/graehl/isd
--exec-prefix=/home/graehl/isd/solaris
Thread model: posix
gcc version 3.4.1


$ more /home/graehl/isd/solaris/lib/gcc/sparc-sun-solaris2.8/3.4.1/specs

*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s
%{fpic|fpie|fPIC|fPIE:-K PIC} %(asm_cpu)

*asm_debug:


*asm_final:


*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}

*invoke_as:
%{!S:-o %|.s |
 as %(asm_options) %|.s %A }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]