GCC not searching /usr/local/include

Michael Ekstrand lists at elehack.net
Mon Jan 30 17:56:44 PST 2006


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?

If yes: where do I look to try to fix this problem?

I'm not sure why I'm thinking it should; I seem to remember it doing so
before. But maybe I'm imagining things.

Thanks!
- Michael


More information about the freebsd-stable mailing list