Why target program depends from system GCC

Jonathan Wakely jwakely.gcc@gmail.com
Sun Nov 9 18:07:00 GMT 2014


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



More information about the Gcc-help mailing list