Wojtek Michalik <[EMAIL PROTECTED]>,
In a message on Thu, 01 Sep 2005 19:28:03 +0200, wrote :
WM> On Thu, 01 Sep 2005 13:12:36 +0200, Ralf Fassel wrote:
WM>
WM> > * Wojtek Michalik <[EMAIL PROTECTED]>
WM> > | I have multiple vessions of libstdc++ installed 3.3 and 3.4
WM> > | My programs using this librarry are linked against the first one by
WM> > | default. I want to change this behavior.
WM> >
WM> > Usually /usr/lib/libstdc++.so (which is used at compile time) is a
WM> > symbolic link to the library with version number. This link
WM> > determines which version is required at run time.
WM> That is no problem. I know how to link with multiple versions of other
WM> libraries but this one is somehow special. Apart from linking to
WM> libstdc++.so.5 I can link to libstdc++.6. Fine. I can also force g++ to
WM> use particular set of headers. I am not sure if it is going to be enough.
If both libraries were built with the *same* (major?) version of g++ it
should be fine. If they were built with *different* versions of g++,
you may have name mangling issues.
WM>
WM> > Also check your compiler/linker docs whether it supports specifying a
WM> > library version.
WM> >
WM> > HTH
WM> > R'
WM>
WM>
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus