This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Multiple libstdc++ versions
- From: coypu at sdf dot org
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 1 Jul 2017 18:17:58 +0000
- Subject: Re: Multiple libstdc++ versions
- Authentication-results: sourceware.org; auth=none
- References: <20170701163114.GA13735@SDF.ORG> <CAH6eHdRK4J4eaNCj4bHiwt_=zv-4e601fJ0fRg99XSedXxON-w@mail.gmail.com>
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.
so I suppose I need to always include an RPATH for the newer libstdc++.
Thanks for your answer.