cross-compiler build problem

F. Heitkamp fheitka@ibm.net
Fri Jun 25 19:41:00 GMT 1999


I've tried all kinds of different configure options but I always get this 
same problem.  I'm trying to make a powerpc cross compiler that runs on
i586-pc-linux-gnu.  Since the compiler is a cross compiler it shouldn't
want to compile itself, should it?

ecking for gcc... /drives/sg3/var/src/egcs-ppc/gcc/xgcc -B/drives/sg3/var/src/egcs-ppc/gcc/
checking whether we are using GNU C... yes
checking whether /drives/sg3/var/src/egcs-ppc/gcc/xgcc -B/drives/sg3/var/src/egcs-ppc/gcc/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin//ginstall -c
checking how to run the C preprocessor... /drives/sg3/var/src/egcs-ppc/gcc/xgcc -B/drives/sg3/var/src/egcs-ppc/gcc/ -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking whether the C compiler (/drives/sg3/var/src/egcs-ppc/gcc/xgcc -B/drives/sg3/var/src/egcs-ppc/gcc/ -g ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1

Fred


More information about the Gcc mailing list