tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -I/usr/include -L/usr/lib

On Mon, Feb 20, 2012 at 12:55:12PM +0000, David Laight wrote:
> If nothing else the dominant system call during a full netbsd build
> is actually open() - and I think that is dominated by failed opens
> when searching for includes.
> So extra -I can have a measurable impact.

But /usr/include and /usr/lib are in the search path anyway, so the
compiler/linker shouldn't be searching them multiple times.


Home | Main Index | Thread Index | Old Index