MinGW (Was: Re: PROPOSAL: Variation on an Alternate policy for obsoleting targets)

Bonzini bonzini@gnu.org
Tue May 20 17:52:00 GMT 2003


> 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



More information about the Gcc mailing list