help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple libstdc++


From: Wojtek Michalik
Subject: Re: multiple libstdc++
Date: Thu, 01 Sep 2005 19:28:03 +0200
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

On Thu, 01 Sep 2005 13:12:36 +0200, Ralf Fassel wrote:

> * Wojtek Michalik <wojmichal@poczta.onet.pl>
> | I have multiple vessions of libstdc++ installed 3.3 and 3.4
> | My programs using this librarry are linked against the first one by
> | default. I want to change this behavior.
> 
> Usually /usr/lib/libstdc++.so (which is used at compile time) is a
> symbolic link to the library with version number.  This link
> determines which version is required at run time.
That is no problem. I know how to link with multiple versions of other
libraries but this one is somehow special. Apart from linking to
libstdc++.so.5 I can link to libstdc++.6. Fine. I can also force g++ to
use particular set of headers. I am not sure if it is going to be enough.
 
> Also check your compiler/linker docs whether it supports specifying a
> library version.
> 
> HTH
> R'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]