host /usr/local/include not searched?
Ovidiu Predescu
ovidiu@slip.net
Sun Oct 11 22:21:00 GMT 1998
Hi,
I noticed that the host header files that exist in /usr/local/include are
apparently not searched by xgcc when built as a native compiler. This makes the
compile abort when building libobjc.
This happens on a i586-pc-linux-gnu and the latest version of egcs from
repository that was configured with
./configure --enable-objc-gc --enable-threads
I have both gc.h and gc_typed.h in /usr/local/include. When compiling
encoding.c I get this error message:
/home/ovidiu/src/egcs-objdir/gcc/xgcc -B/home/ovidiu/src/egcs-objdir/gcc/ -fgnu-runtime -c -o gc_gc.o -I. -I../../../egcs/libobjc -g -O2 -DOBJC_WITH_GC=1 \
-I../../../egcs/libobjc/objc -I../../../egcs/libobjc/../gcc -I../../../egcs/libobjc/../gcc/config -I../../gcc ../../../egcs/libobjc/gc.c
../../../egcs/libobjc/gc.c:37: gc.h: No such file or directory
../../../egcs/libobjc/gc.c:55: gc_typed.h: No such file or directory
make: *** [gc_gc.o] Error 1
Any ideas why this happens?
Ovidiu
More information about the Gcc
mailing list