This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problem bootstrapping gcc 3.4.1
- From: squirrel at _HOSTNAME_ dot headnut dot org
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 21 Aug 2004 12:28:08 -0700
- Subject: problem bootstrapping gcc 3.4.1
hey,
i'm trying to bootstrap gcc 3.4.1 with uclibc for an embedded
device toolchain, but i keep getting errors upon the compile.
the relevant lines:
$ tar xfj gcc-3.4.1.tar.gz
$ mkdir build-boot-gcc
$ cd build-boot-gcc
$ ../gcc-3.4.1/configure --target=i386-linux \
--prefix=/home/squirrel/projects/stb_pbx/toolchain \
--without-headers \
--with-newlib \
--disable-nls \
--enable-languages=c
$ make all-gcc
/home/squirrel/projects/stb_pbx/build-tools/build-boot-gcc/gcc/xgcc
-B/home/squirrel/projects/stb_pbx/build-tools/build-boot-gcc/gcc/
-B/home/squirrel/projects/stb_pbx/tools/i386-linux/bin/
-B/home/squirrel/projects/stb_pbx/tools/i386-linux
/lib/
-isystem /home/squirrel/projects/stb_pbx/tools/i386-linux/include
-isystem /home/squirrel/projects/stb_pbx/tools/i386-linux/sys-include
-O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.4.1/gcc
-I../../gcc-3.4.1/gcc/. -I../../gcc-3.4.1/gcc/../include -DL_muldi3
-c ../../gcc-3.4.1/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ./tm.h:11,
from ../../gcc-3.4.1/gcc/libgcc2.c:43:
../../gcc-3.4.1/gcc/config/i386/linux.h:217:20: signal.h: No such
file or directory
../../gcc-3.4.1/gcc/config/i386/linux.h:218:26: sys/ucontext.h: No
such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
any help on fixing this issue is greatly appreciated! please
e-mail directly or cc me in the reply as i am not on the gcc-help
list.
thank you!
chris