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 Date: Fri, 14 Jun 2002 12:44:46 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Cc: cygwin AT cygwin DOT com Subject: Re: Question about GCC predefined symbols Message-ID: <20020614164446.GA9034@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com, cygwin AT cygwin DOT com References: <004101c2132a$5c7f5c80$500210ac AT fortunet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004101c2132a$5c7f5c80$500210ac@fortunet> User-Agent: Mutt/1.3.23.1i Wrong mailing list. Redirected. On Thu, Jun 13, 2002 at 03:33:37PM -0700, Jim wrote: > >----- 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 >