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]

Re: gcc libraries paths



Jonathan Wakely-4 wrote
> 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.

Thank you, that helps so much.



--
View this message in context: http://gcc.1065356.n8.nabble.com/gcc-libraries-paths-tp1345158p1345191.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]