This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cannot build egcs-971023 on SunOS-4.1.3


Hi there!

I configured egcs on egcs-971023 --with-gnu-as --enable-shared, but it
failed to build.  The failure occurred in the first stage:

./xgcc -B./  -DIN_GCC    -g -I./include     -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c /n/temp1/gcctest/bin/../src/egcs-971023/gcc/enquire.c
./as: unrecognized option `-32'
make[2]: *** [enquire.o] Error 1
make[2]: Leaving directory `/tmp_mnt/n/temp1/tmp/gcctest/src/atibaia/egcs/gcc'

./as is a soft-link to GNU as 2.8.1.  I don't think it supports this
-32 flag.

Shouldn't egcs use this flag only on Solaris2.x?  Or should sunos4.h
#undef ASM_ARCH(|32|64|_DEFAULT)_SPEC?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]