powerpc-linux-gnu cross compiler can't be built
David Ashley
dash@xdr.com
Fri Mar 7 16:03:00 GMT 2003
I'm trying to do
../configure --target=powerpc-linux-gnu
make
It goes for a long time, then fails with this:
mkdir libgcc
mkdir nof
mkdir libgcc/nof
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/tmp/gcc-3.2.2/ppc/gcc/xgcc -B/tmp/gcc-3.2.2/ppc/gcc/ -B/usr/local/powerpc-linux-gnu/bin/ -B/usr/local/powerpc-linux-gnu/lib/ -isystem /usr/local/powerpc-linux-gnu/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fPIC -mstrict-align -DL_muldi3 -c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:21,
from ../../gcc/libgcc2.c:36:
../../gcc/config/rs6000/linux.h:81:20: signal.h: No such file or directory
../../gcc/config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory
I'm trying to build gcc-3.2.2 as a cross compiler for ppc running on an
x86 system.
My gcc is this version:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)
I've tried off and on for over a year to build gcc as a cross compiler for
ppc, and it always fails somehow. I've wanted to replace our working compiler
from Montevista's one which is way out of date.
Can anyone offer any advice?
Thanks--
Dave
More information about the Gcc-bugs
mailing list