public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* host /usr/local/include not searched?
@ 1998-10-11 22:21 Ovidiu Predescu
  1998-10-12  5:47 ` Manfred Hollstein
  0 siblings, 1 reply; 2+ messages in thread
From: Ovidiu Predescu @ 1998-10-11 22:21 UTC (permalink / raw)
  To: egcs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: host /usr/local/include not searched?
  1998-10-11 22:21 host /usr/local/include not searched? Ovidiu Predescu
@ 1998-10-12  5:47 ` Manfred Hollstein
  0 siblings, 0 replies; 2+ messages in thread
From: Manfred Hollstein @ 1998-10-12  5:47 UTC (permalink / raw)
  To: ovidiu; +Cc: egcs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-12  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-11 22:21 host /usr/local/include not searched? Ovidiu Predescu
1998-10-12  5:47 ` Manfred Hollstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).