This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, 2/4] Enable libstdc++ as a DLL on windows platforms.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]