On 5/18/2010 5:48 PM, Ian Lance Taylor wrote:
Song Du<sdu@xxxxxxxxxxx> writes:
Curious question: why to search /usr/local/include before
/usr/include? And what is the original intention to have /usr and
/usr/local both, rather than just /usr?
Historically the OS vendor controlled /usr and /usr/include, while
system owners installed their own libraries in /usr/local/include.
Ian
The order in which /usr/ and /usr/local/ are searched seems arbitrary
and subject to change. Sometimes it depends on which method you choose
to open your session, as well as on the whims of the person who built
your distro.
--
Tim Prince