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: Why target program depends from system GCC


On 9 November 2014 17:13, niXman wrote:
>
> Hi,
>
> I have built & installed GCC-4.9.2 in '/usr/local'.
> When I build some program, it depends from libstdc++ provided by system, but
> not installed GCC-4.9.2. Why?

Because you didn't say you wanted something different, so the dynamic
linker looks in the normal places it looks to find library
dependencies.

https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths


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