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: Multiple libstdc++ versions


On 1 July 2017 at 19:17,  <coypu@sdf.org> wrote:
> It is for the dynamic linking case.
> Previously I thought it's determined at link time (especially seeing
> 'ldd' return a full path), but now I see that it's determined as a
> filename and RPATH.

Strictly speaking, it's a SONAME and RPATH.

> so I suppose I need to always include an RPATH for the newer libstdc++.

Yes, that's one option. See
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.dynamic


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