help compiling for --target=arm-coff (error in crtstuff.c)
Rajesh Gottlieb
rajesh_gottlieb@yahoo.com
Wed Jul 16 05:15:00 GMT 2003
I'm trying to compile gcc-3.3 for the arm-coff or arm-unknown-coff targets with
binutils-2.13.1 and I get the error below. Please advice on what I can do to
resolve this or which versions of gcc support the arm-coff target. I've also
tried older versions back to gcc-3.2.1 with the same results. I only need the
core and g++ parts of gcc.
Thanks
Raj
make GCC_FOR_TARGET="/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -nostdinc
-B/tmp/build/gcc/arm-coff/newlib/ -isystem
/tmp/build/gcc/arm-coff/newlib/targ-include -isystem
/src/gcc-3.3/newlib/libc/include -B/opt/arm-coff/arm-coff/bin/
-B/opt/arm-coff/arm-coff/lib/ -isystem /opt/arm-coff/arm-coff/include" \
AR_FOR_TARGET="arm-coff-ar" \
AR_CREATE_FOR_TARGET="arm-coff-ar rc" \
AR_EXTRACT_FOR_TARGET="" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="loser-" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include -Dinhibit_libc
-fno-inline -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc " \
MULTILIB_CFLAGS="" T= crtbegin.o
make[3]: Entering directory `/tmp/build/gcc/gcc'
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -nostdinc
-B/tmp/build/gcc/arm-coff/newlib/ -isystem
/tmp/build/gcc/arm-coff/newlib/targ-include -isystem
/src/gcc-3.3/newlib/libc/include -B/opt/arm-coff/arm-coff/bin/
-B/opt/arm-coff/arm-coff/lib/ -isystem /opt/arm-coff/arm-coff/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -I. -I. -I/src/gcc-3.3/gcc
-I/src/gcc-3.3/gcc/. -I/src/gcc-3.3/gcc/config -I/src/gcc-3.3/gcc/../include
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss \
-Dinhibit_libc -c /src/gcc-3.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
/src/gcc-3.3/gcc/crtstuff.c:418:2: #error "What are you doing with crtstuff.c,
then?"
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory `/tmp/build/gcc/gcc'
make[2]: *** [crtbegin.o] Error 2
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the Gcc-help
mailing list