Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Norman Vine" To: Subject: RE: cygqwin with mingw32 question Date: Sat, 30 Mar 2002 09:50:48 -0500 Message-ID: <000301c1d7fa$48659fe0$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-reply-to: <2515-Fri29Mar2002121435+0000-starksb@ebi.ac.uk> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal David Starks-Browning writes: > >On Friday 29 Mar 02, Jonathan Wilson writes: >> I did see that but what I dont understand is if __CYGWIN__ >is defined >> when -mno-cygwin is selected. > >Try it! Bet you would have learned faster than asking here! (Would >have saved *me* some time, that's for sure...) > >> I also need to know if cygwin GCC defines some specific flag that I can >> test for that identifies it as GCC. > >"info cpp" Since this question comes up quite frequently maybe we could add the following 'tip' to the faq Q) What preprocessor symbols does Cygwin define A) Use the tool Luke :-) % echo > jnk.c % gcc -E -dM jnk.c % gcc -mno-cygwin -E -dM jnk.c % rm jnk.c HTH Norman -- 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/