Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <004101c2132a$5c7f5c80$500210ac@fortunet> From: "Jim" To: References: Subject: Re: Question about GCC predefined symbols Date: Thu, 13 Jun 2002 15:33:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Mumit Khan" To: "Jim" 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