This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Running C++11 shared library with older gcc, libc
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>, Dinesh Pathak <dinesh dot pathak at gmail dot com>
- Date: Thu, 23 Jun 2016 19:10:42 +0100
- Subject: Re: Running C++11 shared library with older gcc, libc
- Authentication-results: sourceware.org; auth=none
- References: <CAHsD-6Da=98yN2efjqXNfJf0AaneB2JSGZXM0hYCDVqADhqyQA at mail dot gmail dot com> <CAH6eHdS77ZBddDb5pocbECtEVxZmCdpFEBFMA+RiLFHrg-YfPw at mail dot gmail dot com> <CAF1jjLszJaBUJnzn30pDduhH8gH3cSewFaggmumQ0DLbJS-d5w at mail dot gmail dot com>
On 23 June 2016 at 13:36, NightStrike wrote:
> Does it solve the problem by statically linking libstdc++ by default?
No, it links to a libstdc++_nonshared.a which only contains the
symbols not present in the system libstdc++.so