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