This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiler macros with version


Hello out there!

Are there any predefined macros containing the version of the compiler e.g.
like _MSC_VER = 0x1200 for the MSVC6?

I am using the cygwin B20 suite and the EGCS 1.1.2 / Mingw32 port from Mumit
Khan.

I suppose it may be __GNUC__ or __CYGWIN__, but which value do they have and
are there others (identifying egcs)?

THNX
Jörg

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com