build failed for i686-pc-linux-gnulibc1 X sparclite-coff
Joern Rennecke
amylaar@cygnus.co.uk
Thu Aug 27 15:38:00 GMT 1998
I tried to build a i686-pc-linux-gnulibc1 X sparclite-coff cross-compiler
toolchain from the egcs trunk sources, and it failed in objc:
I configured with --target=sparclite-coff, and then did a 'make all-gcc' .
...
gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -DHAIFA -o collect2 collect2.o tlink.o hash.o \
cplus-dem.o underscore.o version.o choose-temp.o mkstemp.o obstack.o
echo "" > tmp-runtime
echo "/* This file is automatically generated */" >objc/runtime-info.h
./cc1obj -print-objc-runtime-info tmp-runtime >>objc/runtime-info.h
rm -f tmp-runtime
/x/egcs-sparclite/gcc/xgcc -B/x/egcs-sparclite/gcc/ -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I/y/egcs/gcc -I/y/egcs/gcc/config \
-c /y/egcs/gcc/objc/hash.c -o objc/hash.o
In file included from /y/egcs/gcc/objc/hash.c:31:
/y/egcs/gcc/objc/runtime.h:31: stdio.h: No such file or directory
/y/egcs/gcc/objc/runtime.h:32: ctype.h: No such file or directory
In file included from /y/egcs/gcc/objc/runtime.h:38,
from /y/egcs/gcc/objc/hash.c:31:
include/objc/objc-api.h:33: stdio.h: No such file or directory
make[1]: *** [objc/hash.o] Error 1
make[1]: Leaving directory `/x/egcs-sparclite/gcc'
make: *** [all-gcc] Error 2
More information about the Gcc
mailing list