Hello I have problem at building gcc on ppc linux (debian unstable) to cross-compile to i686-linux. binutils are compiled and installed sucessfully with folowing options : --target=i686-linux --prefix=/home/kamy Using gcc version : kamy:/home/kamy# gcc --version gcc (GCC) 3.3.2 20031005 (Debian prerelease) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is the configuration line for gcc (ends sucessfully with no error messages) : ../gcc-3.4-20031008/configure --target=i686-linux --prefix=/home/kamy --enable-languages="c,c++,ada" And here are the errors I get : make[1]: Entering directory `/home/kamy/src/gcc-build/gcc' make \ CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \ CONFIG_H="tconfig.h ../../gcc-3.4-20031008/gcc/../include/ansidecl.h" TM_H="tm.h ../../gcc-3.4-20031008/gcc/config/i386/i386.h ../../gcc-3.4-20031008/gcc/config/i386/unix.h ../../gcc-3.4-20031008/gcc/config/i386/att.h ../../gcc-3.4-20031008/gcc/config/dbxelf.h ../../gcc-3.4-20031008/gcc/config/elfos.h ../../gcc-3.4-20031008/gcc/config/svr4.h ../../gcc-3.4-20031008/gcc/config/linux.h ../../gcc-3.4-20031008/gcc/config/i386/linux.h ../../gcc-3.4-20031008/gcc/defaults.h insn-constants.h insn-flags.h" \ MAKEOVERRIDES= \ -f libgcc.mk all make[2]: Entering directory `/home/kamy/src/gcc-build/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4-20031008/gcc/mkinstalldirs $d; fi; \ done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /home/kamy/src/gcc-build/gcc/xgcc -B/home/kamy/src/gcc-build/gcc/ -B/home/kamy/i686-linux/bin/ -B/home/kamy/i686-linux/lib/ -isystem /home/kamy/i686-linux/include -isystem /home/kamy/i686-linux/sys-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-3.4-20031008/gcc -I../../gcc-3.4-20031008/gcc/. -I../../gcc-3.4-20031008/gcc/../include -DL_muldi3 -c ../../gcc-3.4-20031008/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from ./tm.h:11, from ../../gcc-3.4-20031008/gcc/libgcc2.c:43: ../../gcc-3.4-20031008/gcc/config/i386/linux.h:220:20: signal.h: No such file or directory ../../gcc-3.4-20031008/gcc/config/i386/linux.h:221:26: sys/ucontext.h: No such file or directory make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/home/kamy/src/gcc-build/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/home/kamy/src/gcc-build/gcc' make: *** [all-gcc] Error 2 Did I missed something ? Thanks for your help -- -- ____ / \ / antoine.terrienne@xxxxxxx | o o | - http://antoine.terrienne.free.fr | o | \ #153026466 \ V V / \_/\_/