Re: gcc libraries paths

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

 



On 31 January 2017 at 00:05, robertdaleweir wrote:
> I would like to know how to find the 'search path' when 'gcc' is compiling /
> linking and running.  It appears that 'runtime' linking is at a different
> location than the 'compile and/or linking' libraries are located.  I guess
> my need is to learn how to locate the 'path' that is searched when 1.0
> Compiling  2.0 Linking and finally 3.0 Runtime.  Thanks for any help in this
> matter.

GCC's -v option will show you the paths used when compiling and link.

The runtime paths are nothing to do with GCC. If you're using
GNU/Linux see 'man ld.so' for details.



[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