This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Song Du<sdu@marvell.com> writes: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.
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
-- Tim Prince
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |