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: [Mingw-users] [patch] --enable-dynamic-string default for mingw-w64


2011/9/25 Paolo Carlini <paolo.carlini@oracle.com>:
> On 09/25/2011 05:14 PM, Cesar Strauss wrote:
>>
>> I quote my reasoning: On 09/20/2011 11:56 PM, Cesar Strauss wrote:
>>>
>>> On the one hand, according to comment 4 of [1], by using
>>> --enable-fully-dynamic-string, all other users will miss a very good
>>> optimization. On the other hand, these users of -static-libstdc++ are
>>> mixing shared and static libraries, which isn't a good idea in
>>> general anyway, is it?
>>>
>>> [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
>
> If you ask me, I totally agree. But I don't maintain any mingw target, thus,
> **if** the target maintainers want to do something like that I provided info
> about the correct way to do it.
>
> Paolo.

I see Cesar's point, and so my vote is for enabling it for w64 flavor
only. We providing users the ability to build with static and want to
avoid at least obvious issues here.  I admit that people might mix
here static and shared libraries, but that's in fact then more an
issue of wrong use, which can be clarified by user-documentation for
mingw-w64.

Thanks Paolo for offering information for JonY for doing this the
right way in libstdc++.

Regards,
Kai


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