This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re: Loading multiple versions of libstdc++
- From: Joe Buck <jbuck at synopsys dot com>
- To: srajguru at onebox dot com
- Cc: phil at jaj dot com, libstdc++ at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 17 Jul 2003 16:38:03 -0700
- Subject: Re: Re: Loading multiple versions of libstdc++
- References: <B0012641308@vljcms10.ucmretail.internal.callsciences.com>
On Thu, Jul 17, 2003 at 06:33:21PM -0400, srajguru@onebox.com wrote:
>
> Ok. Is it then possible to statically link libstdc++ in the library built with GCC 3.2.2 and then have a library built with GCC 2.95.3 call into it using only C-linkage (and also dynamically link libstdc++ for GCC 2.95.3).
It definitely will not work if stream I/O occurs in both the 2.95.3 part
and the 3.2.2 part, as the stream objects are completely different and
there is global state.