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] Build libgcc_s on Windows


Brian Dessent wrote:
> Danny Smith wrote:
> 
>> The "downside" of this is that  we  force user to always add
>> "-shared-libgcc" to gcc command line rather than allow the clever user
>> to rely on a libgcc.dll.a vs libgcc.a  link order diff.
> 
> I'm not sure that will work in the case of Cygwin then, since the plan
> as I understand it is to behave like Linux: shared libgcc is the default
> if not specified, and must be overridden with -static-libgcc.

IIRC, this is one of the differences between mingw and cygwin with
regards to shared libgcc: for the former, they decided that static
runtimes should be the default, given the strong desire of most mingw
users for so-called 'monolithic' executables.  On cygwin, of course, the
more like unix the better, so shared libgcc should be the default.

--
Chuck


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