GCC not searching /usr/local/include
pongthep
pkrisada at ego.co.th
Tue Jan 31 11:03:40 PST 2006
What is the main difference between them, in brief?
I only use /usr/include and I've never used /usr/local/include.
thanks,
pongthep
> 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
More information about the freebsd-stable
mailing list