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 Date: Fri, 29 Mar 2002 11:43:34 +0000 Message-ID: <3691-Fri29Mar2002114335+0000-starksb@ebi.ac.uk> From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jonathan Wilson Cc: cygwin AT cygwin DOT com Subject: cygqwin with mingw32 question Newsgroups: gmane.os.cygwin In-Reply-To: <3CA43322.5020508@tpgi.com.au> References: <3CA43322 DOT 5020508 AT tpgi DOT com DOT au> On Friday 29 Mar 02, Jonathan Wilson writes: > I am going to be doing something thats going to use cygwin, -mno-cygwin > and mingw32 and I need to know what compiler flags I can use to test for > this. > This same code already builds on win32 with visual C++ and also on *nix > with gcc so is there a set of tests I can do to say "#ifdef _WIN32 && > _GCC" or something like that? There is an entry in the "Programming Questions" section of the FAQ. The question itself is rather badly worded, but I leave finding it as an exercise for the reader. If you have to read every entry in that section, I would say that's a good thing. BTW, if I can improve that entry, let me know. It was written quite some time ago. Cheers, David -- 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/