Article View: gnu.gcc.help
Article #51928Re: Help! gcc is using the wrong include files
From: Diane Schulkowski
Date: Thu, 11 Mar 1993 01:03
Date: Thu, 11 Mar 1993 01:03
27 lines
1413 bytes
1413 bytes
Dan Mack writes > I've recently built gcc-2.3.3 on a Sun runing Solaris-2.1 and for one > reason or another, it isn't looking in the gcc-lib/../../2.3.3/include > directory for its include files. Instead, it's using the /usr/include > stuff, which in the case of stdarg.h at least, doesn't work very well. > > I've rebuilt/installed it and it still fails to look for its > 'fix-included' header files. > > Does anyone know what I need to do to fix this? > > Thanks, > > Dan > -- I have noticed just the opposite! The include file sys/wait.h under gcc's include directory supposedly referenced the sys/wait.h under /usr/include, but somehow it was not seen by gcc. I had to specify the full path for the to obtain the /usr/include one. Diane
Technical Details
Message-ID:
<1993Mar11.010308.10297@rtsg.mot.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ftpbox!mothost!white!rtsg.mot.com!newsReferences:
<mack.731630549@deci>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,efa41732db5d9051 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-10 21:35:24 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!mothost!white!rtsg.mot.com!news From: schulkow@onyx5 (Diane Schulkowski) Subject: Re: Help! gcc is using the wrong include files Message-ID: <1993Mar11.010308.10297@rtsg.mot.com> Sender: news@rtsg.mot.com Nntp-Posting-Host: onyx5 Organization: Motorola Inc., Cellular Infrastructure Group References: <mack.731630549@deci> Distribution: usa Date: Thu, 11 Mar 1993 01:03:08 GMT Lines: 27