This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MinGW (Was: Re: PROPOSAL: Variation on an Alternate policy for obsoleting targets)
- From: "Bonzini" <bonzini at gnu dot org>
- To: <gcc at gcc dot gnu dot org>
- Cc: <stl at caltech dot edu>,<eric at umginc dot net>
- Date: Tue, 20 May 2003 19:39:23 +0200
- Subject: Re: MinGW (Was: Re: PROPOSAL: Variation on an Alternate policy for obsoleting targets)
> When building other software packages in Cygwin, there is always the switch
> -mno-cygwin available to disable linking to Cygwin DLLs. *But*, you'll need to
> make sure that the package is not making any Unix-specific calls for it to
> work, which unfortunately, GCC has those fork / exec / kill calls.
>
> Eric
configure should properly detect these as absent when CC="gcc -mno-cygwin". Moreover,
with -mno-cygwin you don't define __unix__ and __CYGWIN__, but __WIN32__ and
__MSVC_CRT__ (not sure about the spelling of this last one). The problem is that bugs
in the MinGW port are often bound to show up with -mno-cygwin as well.
Paolo