This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
bootstrap for arm-elf cross compiler breaks
- From: Leny Thangiah <contactleny at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 27 May 2005 15:16:48 +0530
- Subject: bootstrap for arm-elf cross compiler breaks
- Reply-to: Leny Thangiah <contactleny at gmail dot com>
Hi dudes,
I 'm trying to install the gcc cross compiler for arm target on my
windows 2000 PC using the cygwin. I 'm forced to use gcc 3.2.3 to
maintain the compatibility. I followed these steps.
1. Source files were extracted to the d:/src folder
2. mkdir d:/obj
3. cd obj
4. ../src/configure --prefix=/cygdrive/d/gcc/obj --target=arm-elf
-enable-languages=c++
--with-as=/cygdrive/c/gnu-arm/arm-elf/bin/arm-elf-as.exe.
5. make bootstrap
The make bootstrap fails with the following error.
make CC="stage1/xgcc.exe -Bstage1/ -B/cygdrive/d/gcc/obj/arm-elf/bin/" \
STAGE_PREFIX=stage1/ \
CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WAR
N="-Wtraditional -pedantic -Wno-long-long" libdir=/cygdrive/d/gcc/obj/lib LANGUA
GES="c gcov.exe c++" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/cygdrive/d/gcc/obj/gcc'
stage1/xgcc.exe -Bstage1/ -B/cygdrive/d/gcc/obj/arm-elf/bin/ -c -DIN_GCC -DCROSS
_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototy
pes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE
-I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc
/../include ../../src/gcc/gengenrtl.c -o gengenrtl.o
In file included from ../../src/gcc/gengenrtl.c:23:
../../src/gcc/system.h:50:19: stdio.h: No such file or directory
../../src/gcc/system.h:112:23: sys/types.h: No such file or directory
../../src/gcc/system.h:114:19: errno.h: No such file or directory
../../src/gcc/system.h:121:21: string.h: No such file or directory
Any help from you will be grateful for me, since I 'm stuck with this
for the past 3 days.
Thanks.
Leny