This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Question about GCC predefined symbols
- From: "Jim" <jbuckeyne at greater dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Thu, 13 Jun 2002 15:33:37 -0700
- Subject: Re: Question about GCC predefined symbols
- References: <Pine.HPX.4.33.0206131717530.11434-100000@hp2.xraylith.wisc.edu>
----- Original Message -----
From: "Mumit Khan" <khan@nanotech.wisc.edu>
To: "Jim" <jbuckeyne@greater.net>
Sent: Thursday, June 13, 2002 3:18 PM
Subject: Re: Question about GCC predefined symbols
> On Thu, 13 Jun 2002, Jim wrote:
>
> > Was wondering - is there a pre-defined symbol which gcc will define
when
> > running the cygwin environment? maybe __CYGWIN__ or something?
>
> $ gcc -E -dM - < /dev/null
>
> Should show you the predefined macros. Or, you can use the -v option when
> compiling for verbose output which shows these as well.
>
>
Yeup I'm aware of how to make myown - what symbols are predefined
__GCC__
__STDC__ etc etc