This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Subtle problem with libstdc++-v3 when used with gcc configuredwith --enable-shared --enable-threads\=posix
- To: rittle at rsch dot comm dot mot dot com
- Subject: Re: Subtle problem with libstdc++-v3 when used with gcc configuredwith --enable-shared --enable-threads\=posix
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Wed, 24 May 2000 07:52:47 +0200
- CC: libstdc++ at sourceware dot cygnus dot com, libtool at gnu dot org
- Organization: HERMES SoftLab
- References: <200005232321.SAA39364@latour.rsch.comm.mot.com>
Loren James Rittle wrote:
[...]
> If I manually take out the -lm and -lc in the second command line, I
> get a shared libstdc++ library that appears to work just fine when
> either libc or libc_r is provided by the g++ driver at later link-times.
>
> Is this solution on the right track?
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?
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70