gcc-3.3.2 problem in gcc/config/rs6000/linux.h
Dan Kegel
dank@kegel.com
Sun Nov 2 20:26:00 GMT 2003
adams@ftdsb.com wrote:
> I've successfully built the 2.14 binutils for --target=powerpc-linux. I
> then configured GCC 3.3.2 for the same target along with the
> --with-newlib switch.
> It builds along on my Pentium III machine just fine for a long time and
> then runs into the following error:
>
> mkdir libgcc
> mkdir nof
> mkdir libgcc/nof
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> /usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc/xgcc
> -B/usr/local/tools/ppc_tools/gcc/gcc-3.3.2/gcc/
> -B/usr/local/tools/ppc_tools/powerpc-linux/bin/
> -B/usr/local/tools/ppc_tools/powerpc-linux/lib/ -isystem
> /usr/local/tools/ppc_tools/powerpc-linux/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. -I./.
> -I./config -I./../include -fPIC -mstrict-align -DL_muldi3 -c
> ./libgcc2.c -o libgcc/./_muldi3.o
> In file included from tconfig.h:22,
> from libgcc2.c:36:
> config/rs6000/linux.h:89:20: signal.h: No such file or directory
> ...
> Any ideas?
I assume you're building a bootstrap compiler and eventually
want a gcc/glibc toolchain, right?
I think you've run into the "gcc-3.3.x needs glibc headers" problem;
see
http://sources.redhat.com/ml/crossgcc/2002-07/msg00067.html
or my build script at http://kegel.com/crosstool
- Dan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list