[PATCH GOLD] [6/N mingw host] Add support for not keeping the files open on execute

JonY 10walls@gmail.com
Sat Oct 10 16:48:00 GMT 2009


On 10/8/2009 09:15, Dave Korn wrote:
> Viktor Kutuzov wrote:
>>>> #if defined(_WIN32)&&  !defined(__CYGWIN__)
>>>
>>>   Any reason why not just "#ifdef __MINGW32__" for that case?
>>
>> This is some kind of a pattern which is used all over the places, so,
>> people would expect to see something like this.
>
>    Ah, I'd say there are perhaps different ways best according to whether
> you're writing entirely new code that you just want to run on windows, or
> modifying old code to exclude cygwin while carefully not disturbing anything else!
>
>> However, I'm not sure about _WIN32. Do we target 64-bit Windows at all?
>
>    Kai?  Are you listening?  (Kai Tietz looks after the 64-bit mingw port.)
>
>      cheers,
>        DaveK
>
>

Hi,
Does Cygwin define __MSVCRT__ too? Yeah, mingw-w64 gcc does define 
__MINGW32__ and _WIN32.



More information about the Binutils mailing list