This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I'm having difficulty building gcc-3.0 as a cross compiler hosted on RedHat (6.2 or 7.0) and targeted at linux-ppc I've compiled binutils OK and installed into the target tree. Then building gcc fails as it tries to build libgcc2 with the following error /u/ptf/gcc-3.0/gcc/xgcc -B/u/ptf/gcc-3.0/gcc/ -B/opt/gcc-ppc/powerpc-linux/bin/ -B/opt/gcc-ppc/powerpc-linux/lib/ -isystem /opt/gcc-ppc/powerpc-linux/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -fPIC -mstrict-align -DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o In file included from tm.h:6, from config/rs6000/xm-sysv4.h:35, from tconfig.h:3, from libgcc2.c:36: config/rs6000/linux.h:81:20: signal.h: No such file or directory config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/u/ptf/gcc-3.0/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/u/ptf/gcc-3.0/gcc' make: *** [all-gcc] Error 2 It looks as though it wants signal.h and sys/ucontext.h from the C library. Obviously they aren't there because I can't build the cross C library until I've built the compiler. Am I doing something wrong? PS: please CC me on replies, I'm not subscribed at the moment ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |