Compiling 32bit gcc on 64 bit red hat linux platform for GCC 3.4.6

Lucky Kudos duckdoug@yahoo.com
Wed May 2 15:22:00 GMT 2007


Hi, 

I tried to build a 32 bit gcc on a 64 bit redhat linux
platform  

./configure --prefix=/opt/gcc32 
--host=i386-redhat-linux --with-arch=i386
--cache-file=/dev/null
--enable-targets=i386-redhat-linux 

make 


And got the following error: 


HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ./mkconfig.sh tconfig.h
/tmp/gcc-3.4.6/gcc/xgcc -B/tmp/gcc-3.4.6/gcc/
-B/opt/gcc32/i386-redhat-linux/bin/
-B/opt/gcc32/i386-redhat-linux/lib/ -isystem
/opt/gcc32/i386-redhat-linux/include -isystem
/opt/gcc32/i386-redhat-linux/sys-include -O2 -DIN_GCC 
  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I. -I. -I./. -I./../include   -g0
-finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer \
   -c ./crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/tmp/ccnc6C0O.s: Assembler messages:
/tmp/ccnc6C0O.s:33: Error: suffix or operands invalid
for `push'
/tmp/ccnc6C0O.s:43: Error: suffix or operands invalid
for `call'
/tmp/ccnc6C0O.s:61: Error: suffix or operands invalid
for `push'
/tmp/ccnc6C0O.s:71: Error: suffix or operands invalid
for `push'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/tmp/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2


Any suggestion is greatly appreciated! 


CM 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Gcc-help mailing list