This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, 2/4] Enable libstdc++ as a DLL on windows platforms.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Danny Smith <dansmister at gmail dot com>, "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Date: Sat, 18 Jul 2009 15:39:12 +0100
- Subject: Re: [PATCH, 2/4] Enable libstdc++ as a DLL on windows platforms.
- References: <4A60F7BA.3040204@gmail.com> <4A60F864.8080007@gmail.com> <4A61DA56.9000802@gnu.org>
Paolo Bonzini wrote:
> Dave Korn wrote:
>> This is patch #2 in the series. It adds autoconf tests for libstdc++
>> support wrapper functions present in the Cygwin DLL, and adds an option (only
>> present for Cygwin and defaulted according to the autoconf test) to make the
>> compiler invoke the wrappers when linking.
>
> If you get agreement for the MinGW guys, this could as well test
> "cygmin* | pe | mingw*" here and fuse the two case statements (and move
> everything from cygwin.h to cygming.h or whatever it is called). This
> would be preferrable, no?
In theory yes, but not until after they have implemented support wrappers in
the MinGW runtime (these are already present in the latest released Cygwin
DLL), and they may even decide to take a different approach for their
platform. I didn't want to assume they'll be able to do that straight away,
so I figured that might be the subject of a later patch - when they've got the
support upstream, they can merge the two cases and move the specs to the
common file as you suggest.
cheers,
DaveK