This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: gcc 2.95.3-1 and -mwin32
- To: <cygwin-apps at cygwin dot com>
- Subject: RE: gcc 2.95.3-1 and -mwin32
- From: "Norman Vine" <nhv at cape dot com>
- Date: Sat, 17 Mar 2001 19:17:30 -0500
- Reply-To: <nhv at cape dot com>
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