This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Question about GCC predefined symbols
- From: Christopher Faylor <cgf-noreply at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Cc: cygwin at cygwin dot com
- Date: Fri, 14 Jun 2002 12:44:46 -0400
- Subject: Re: Question about GCC predefined symbols
- References: <Pine.HPX.4.33.0206131717530.11434-100000@hp2.xraylith.wisc.edu> <004101c2132a$5c7f5c80$500210ac@fortunet>
- Reply-to: cygwin at cygwin dot com
Wrong mailing list.
Redirected.
On Thu, Jun 13, 2002 at 03:33:37PM -0700, Jim wrote:
>
>----- 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
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/