delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/29/06:44:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Jonathan Wilson <jonwil AT tpgi DOT com DOT au>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019