Problem compiling 970924

Jim Meyering meyering@eng.ascend.com
Sun Sep 28 05:57:00 GMT 1997


Dax Kelson <dkelson@inconnect.com> writes:

| Solaris 2.6 x86
|
| I'm using gcc 2.7.2.3 to compile with binutils 2.8.1 (the SUN supplied
| binutils don't work either)
|
| make[1]: Entering directory
| `/export/home/dkelson/software/gnu/egcs-970924/gcc'
| ./xgcc -B./ -O2   -DIN_GCC    -g -I./include  -fPIC -g1 -DIN_LIBGCC2
| -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config \
|   -c ./cp/new1.cc
| Assembler: new1.cc
|         aline 945       : Illegal mnemonic
|         aline 945       : syntax error
| make[1]: *** [new1.o] Error 1
| make[1]: Leaving directory
| `/export/home/dkelson/software/gnu/egcs-970924/gcc'
| make: *** [libgcc2.a] Error 1
| [dkelson@brookie:~/software/gnu/egcs-970924/gcc]>

That happened to me when I made gcc use /usr/ccs/bin/as.
One way to avoid this is to be sure you use the same --prefix=PREFIX
for both the binutils and egcs.



More information about the Gcc mailing list