This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
host /usr/local/include not searched?
- To: egcs at cygnus dot com
- Subject: host /usr/local/include not searched?
- From: Ovidiu Predescu <ovidiu at slip dot net>
- Date: Sun, 11 Oct 1998 22:22:42 -0700
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