This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


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

RE: gcc 2.95.3-1 and -mwin32


Charles S. Wilson writes:
>>
>Robert Collins asked:
>> Will -mwin32 still be present? I think it should if you 
>> do not define WIN32.
>
>This complicates things somewhat; there would be *three* 
>separate behaviors:

Hmm.. 
I think I see "four" mutually exclusive distinct behaviors

<  $WIN32 below means 
     WIN32 _WIN32 __WIN32 __WIN32__ >

1) default 
   include  /usr/include/w32api  
   don't #define $WIN32
   #define __CYGWIN__

2) -mwin32
   include  /usr/include/w32api 
   #define $WIN32
   #define __CYGWIN__

3) -mno-win32 
   don't include  /usr/include/w32api 
   don't #define $WIN32
   #define __CYGWIN__

4) -mno-cygwin 
   include  /usr/include/mingw 
   include  /usr/include/w32api
   #define $WIN32  
   #define __MINGW32__ 
   don't #define __CYGWIN__

Cheers

Norman Vine


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