Subtle problem with libstdc++-v3 when used with gcc configuredwith --enable-shared --enable-threads\=posix

Loren James Rittle rittle@latour.rsch.comm.mot.com
Wed May 24 13:55:00 GMT 2000


In article < 392B6E2F.4BDEE13B@hermes.si >,
Branko Čibej <branko.cibej@hermes.si> writes:

> Shouldn't there be two versions of the C++ library on such systems,
> libstdc++ and libstdc++_r, each linked with the appropriate libc?
> After all, what sense does it make to use a thread-safe C++ library,
> if the C library isn't?

You raise a good point.  As far as I know, when gcc is configured to
*conditionally* support multi-threading, the C++ library is built to
*always* support multi-threading.  Thus, it is only a matter of
possible performance degradation.

Loren


More information about the Libstdc++ mailing list