Re: when GCC searches the system include directories, "/usr/include" first, or "usr/lib/gcc/include", "usr/local/lib/gcc/include" first?

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

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux