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

Complie error while build cross compile toolchain for i386-linux



Hi, all

I try to build a cross compile toolchain for i386-linux on my Apple PowerBook 
G4.  I get the debian package toolchain-source and follow the following 
instructions
http://people.debian.org/~debacle/cross.html

When I build the gcc-3.4.3, I get the following error message.

~~~snip~~~
/usr/src/gcc-i386-linux-3.4.3/build/gcc/xgcc 
-B/usr/src/gcc-i386-linux-3.4.3/build/gcc/ -B/usr/i386-linux/bin/ 
-B/usr/i386-linux/lib/ -isystem /usr/i386-linux/include 
-isystem /usr/i386-linux/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../src/gcc 
-I../../src/gcc/. -I../../src/gcc/../include   -m64 -DL_muldi3 
-c ../../src/gcc/libgcc2.c -o libgcc/64/_muldi3.o
Assembler messages:
Fatal error: No compiled in support for x86_64
make[4]: *** [libgcc/64/_muldi3.o] Error 1
make[4]: Leaving directory `/usr/src/gcc-i386-linux-3.4.3/build/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory `/usr/src/gcc-i386-linux-3.4.3/build/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/usr/src/gcc-i386-linux-3.4.3/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/usr/src/gcc-i386-linux-3.4.3'
make: *** [stamps/05-build-stamp] Error 2
debuild: fatal error at line 764:
dpkg-buildpackage failed!
~~~snip~~~

I have searched the google, and did not get any useful information.  Is there 
someone run into the same things and can help me?

-- 
Regards,

GONG Jie
E-mail: neo@mamiyami.com



Reply to: