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] |
Other format: | [Raw text] |
Hi, I'm trying to build a cross toolset for ppc. The binutils build and install fine. When I try gcc, however, I get the following error when the build reaches gcc-3.0.4/gcc/libgcc2.c: /home2/dimator/3rdParty/crosstools/gcc-core-ppc405/gcc/xgcc -B/home2/dimator/3rdParty/crosstools/gcc-core-ppc405/gcc/ -B/home2/dimator/opt//ppc405/powerpc-linux/bin/ -B/home2/dimator/opt//ppc405/powerpc-linux/lib/ -isystem /home2/dimator/opt//ppc405/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../../gcc-3.0.4/gcc -I../../gcc-3.0.4/gcc/. -I../../gcc-3.0.4/gcc/config -I../../gcc-3.0.4/gcc/../include -fPIC -mstrict-align -DL_muldi3 -c ../../gcc-3.0.4/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from tm.h:7, from ../../gcc-3.0.4/gcc/config/rs6000/xm-sysv4.h:35, from tconfig.h:3, from ../../gcc-3.0.4/gcc/libgcc2.c:36: ../../gcc-3.0.4/gcc/config/rs6000/linux.h:81:20: signal.h: No such file or directory ../../gcc-3.0.4/gcc/config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory Here is my configure line: ../gcc-3.0.4/configure --target=powerpc-linux --build=`arch`-linux --program-prefix=powerpc-linux- --prefix=$HOME/opt/ppc405/ --without-headers --enable-languages=c --with-newlib --disable-shared --with-cpu=403 --nfp As far as I can tell, sys/ucontext.h as well as signal.h are part of glibc, which I would normally build/install *after* gcc. Has anyone ran into this kind of problem? Thanks Dimi ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |