Re: [CMake] selecting correct g++/libstdc++.so pair

2010-11-18 Thread Michael Hertling
On 11/18/2010 11:01 PM, Russell L. Carter wrote: > Hi all, > I have three g++ versions installed. Debian's native g++-4.3 and > g++-4.4 both use /usr/lib/libstdc++.so.6.13, while > /usr/local/bin/g++-4.5 needs /usr/local/lib64/libstdc++.so.6.14. > > If I use CXX=/usr/local/bin/g++-4.5 at configur

[CMake] selecting correct g++/libstdc++.so pair

2010-11-18 Thread Russell L. Carter
Hi all, I have three g++ versions installed. Debian's native g++-4.3 and g++-4.4 both use /usr/lib/libstdc++.so.6.13, while /usr/local/bin/g++-4.5 needs /usr/local/lib64/libstdc++.so.6.14. If I use CXX=/usr/local/bin/g++-4.5 at configure time, executables are linked against /usr/lib/libstdc++.so.