Re: GCC not searching /usr/local/include
- From: Kris Kennaway <kris@xxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 22:47:35 -0500
On Mon, Jan 30, 2006 at 07:56:55PM -0600, Michael Ekstrand wrote:
> I'm having a little problem with compiling programs.
>
> It seems that gcc does not search /usr/local/include for headers by
> default; I have to specify -I/usr/local/include. It seems to me that it
> should.
>
> So:
>
> Should gcc be searching /usr/local/include by default?
No, if you want to look for third-party headers you need to point the
compiler there yourself.
Kris
Attachment:pgpT7gxcd2Ofl.pgp
Description: PGP signature
- References:
- GCC not searching /usr/local/include
- From: Michael Ekstrand
- GCC not searching /usr/local/include
- Prev by Date: Re: buildkernel suddenly not respecting -DNO_WERROR
- Next by Date: Re: X.org 6.9
- Previous by thread: GCC not searching /usr/local/include
- Next by thread: Re: GCC not searching /usr/local/include
- Index(es):