This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 GOLD] [6/N mingw host] Add support for not keeping the files open on execute


2009/10/10 JonY <10walls@gmail.com>:
> 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.
>

Ups, I saw this thread. But I missed this question, sorry. Yes x64
windows gcc defines _WIN32, and __MINGW32__, too. Additionally it
defines _WIN64 and __MINGW64__.

Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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