delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/11/03:18:43

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
Message-ID: <3A5D6B3D.48C2077F@ece.gatech.edu>
Date: Thu, 11 Jan 2001 03:13:49 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Egor Duda <cygwin AT sources DOT redhat DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: make -mno-win32 the gcc default?
References: <20010110163107 DOT A4979 AT redhat DOT com>
<3A5CDA12 DOT B7533F6C AT ece DOT gatech DOT edu> <20010110170527 DOT B21342 AT volta DOT certicom DOT com>
<3A5CDEA3 DOT CAB59B71 AT ece DOT gatech DOT edu> <171329197110 DOT 20010111103208 AT logos-m DOT ru>

Egor Duda wrote:
> 
> Hi!
> 
> Thursday, 11 January, 2001 Charles Wilson cwilson AT ece DOT gatech DOT edu wrote:
> 
> CW> Sure.  'export CC="gcc -mwin32"' and 'export CXX="g++ -mwin32"' in your
> CW> .bashrc
> 
> perhaps  we  should put
> 'export  CC="gcc -mno-win32"' and 'export CXX="g++ -mno-win32"' in our
> .bashrc's and live with it for some time before making it default?
> 
> BTW, shouldn't it be
> 'export  CFLAGS="-mno-win32"' and 'export CXXFLAGS="-mno-win32"' ?

Yeah, you're probably right.  But lots of times I'll do this:

CFLAGS="...." LDFLAGS="....." ./configure 

and if it were me, I *know* I'd forget to add "-mno-win32" every time. 
However, I hardly ever mess with "CC" or "CXX". Therefore, those
variables are "safe" -- they won't be accidentally overridden.  But
that's just my tendencies.  I'm sure other people have their own.

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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