How do I select a version of libstdc+ to link against?

David Aldrich David.Aldrich@EMEA.NEC.COM
Wed Sep 21 16:16:00 GMT 2011


Hi

I am running Ubuntu 10.04, which has g++ 4.4 installed by default.  I want to run g++ 4.1.3 so I installed 4.1.3 and set is as the default using update-alternatives.  However, I suspect that although I am compiling with 4.1.3, I am actually linking to libstdc+ 4.4. 

How can I determine which version of libstdc+ I am linking against?

How can I select which version of libstdc+ to link against?

Thanks in advance.

David



More information about the Libstdc++ mailing list