gcc46 header search path

Dimitry Andric dimitry at andric.com
Fri Jul 6 21:45:11 UTC 2012


On 2012-07-06 22:44, Warner Losh wrote:
...
> The reasons are that /usr/local/include superceds anything in /usr/include.  This is dangerous.  Users should get just the system default libraries and headers when they compile unless they ask for more.  That's what makes it stupid.

Well, one issue is that it becomes tricky to *remove* /usr/local/include
from the include path, if you so desire, since it's built-in...  Unless
you start fiddling with -nostdinc, but that is rather painful.


More information about the freebsd-toolchain mailing list