This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: How do I select a version of libstdc+ to link against?


On 27 September 2011 09:20, David Aldrich wrote:
>> The corresponding PR says it was 4.4.0:
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37958#c8
>>
>> You can also look at the date of the checkin and see what the next release
>> branched from the main trunk was after that date:
>> http://gcc.gnu.org/develop.html#timeline
>> That agrees that it would have been 4.4.0
>
> Thanks Jonathan. That means that I was building with gcc 4.1.3 but experiencing the new behaviour of libstdc++ 4.4. I am hoping for some help from the Ubuntu forum to explain this.

For the third or fourth time, have you use ldd to see which library is
being used by the runtime linker?  I am positive that will show you
it's using the standard system libstdc++ in somewhere such as
/usr/lib/libstdc++.so.6.x.x

You can use RPATH or $LD_LIBRARY_PATH to force a different lib to be used.


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