Weak symbols without symbol version
Stephan Bergmann
sbergman@redhat.com
Tue Sep 11 06:54:00 GMT 2018
On 11/09/2018 08:11, Philipp Wähnert wrote:
> I'm asking this whole thing, because we're maintaining a library written in C++
> with a C API. We're obliged to guarantee a huge backwards compatibility. The
> oldest system is CentOS 6 which still uses GCC 4.4. Currently we're compiling
> against LSB 4.1. Be we're really keen on using all this new and shiny C++11
> features and it's my task to do the research.
There's
<https://developers.redhat.com/products/developertoolset/overview/>
(also available for CentOS 6), which brings newer compiler versions and
bundles the "extra" parts of libstdc++ statically. Works fine when you
build a complete executable at least; I myself never needed the case
where you just ship a single library to be consumed by others, though,
so don't know about that part.
More information about the Libstdc++
mailing list