libc++ vs. libstdc++ usage in the ports tree
David Chisnall
theraven at FreeBSD.org
Thu Nov 14 09:55:08 UTC 2013
On 13 Nov 2013, at 19:40, Dimitry Andric <dim at freebsd.org> wrote:
> On the other hand, different C++ standard libraries simply cannot be
> mixed. The internal implementations are usually completely different.
> This is not really news at all, certainly not to the ports people. :-)
That said, it should still be possible to mix them in different libraries.
The constraint from the wiki still applies: if you don't use STL types at library boundaries, then it should still work. If you do, then the libc++ and libstdc++ symbols will be mangled differently and so you will get link-time errors.
In theory, if it links it should run...
David
More information about the freebsd-current
mailing list