delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/31/17:54:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: "David Carter" <david AT carter DOT net>
Cc: <cygwin AT cygwin DOT com>
Subject: Re: Up-to-date info on '-mno-cygwin' vs. Mingw32
References: <000501c13210$54396e40$6401a8c0 AT atl DOT mediaone DOT net>
From: James Youngman <jay AT gnu DOT org>
Date: 31 Aug 2001 22:51:45 +0100
In-Reply-To: <000501c13210$54396e40$6401a8c0@atl.mediaone.net>
Message-ID: <x6ae0f99u6.fsf@no-such-thing-as-a.free-lunch.demon.co.uk>
Lines: 23
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0

"David Carter" <david AT carter DOT net> writes:

> - use the cygwin tools, passing -mno-cygwin to the compiler (& linker? I
> do it to be sure, but not sure if it's required)

As an (off-topic) aside, I noticed recently that it makes a difference
whether you pass -O to the preprocessor or not, but it appears that
autoconf doesn't know that (configure doesn't pass the -O to the
preprocessor) and glibc behaves differently (G<IBC 2.2.3 #defines
printf, for example).


(this test on GCC 2.96, but I initially noticed it with GC 2.95.3
under Cygwin 1.3.2.) 

bash-2.04$ diff <(cpp -dM -E - < /dev/null ) <(cpp -dM -O4 -E - < /dev/null) 
11a12
> #define __OPTIMIZE__ 1

-- 
James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <jay AT gnu DOT org> is 64A95EE5 (F1B83152).

--
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