host /usr/local/include not searched?
Manfred Hollstein
manfred@s-direktnet.de
Mon Oct 12 05:47:00 GMT 1998
On Sun, 11 October 1998, 22:22:42, ovidiu@slip.net wrote:
>
> 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?
Yep, this is a result of the $(unlibsubdir) patch; see the different
monster thread "latest snapshot won't find C++ header files",
particularly Alexandre's email from 12 Oct 1998 07:40:28 -200 and my
reply, which contain the necessary patches.
>
> Ovidiu
>
>
manfred
More information about the Gcc
mailing list