delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/03/22:35:15

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
Date: Fri, 3 Nov 2000 22:31:44 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: [Perl 5.6] Cpan.pm
Message-ID: <20001103223144.A15372@redhat.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <20001104030805 DOT 13370 DOT qmail AT web115 DOT yahoomail DOT com> <3A038229 DOT 47D03562 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <3A038229.47D03562@ece.gatech.edu>; from cwilson@ece.gatech.edu on Fri, Nov 03, 2000 at 10:27:37PM -0500

On Fri, Nov 03, 2000 at 10:27:37PM -0500, Charles S. Wilson wrote:
>>One other thing that I've done is to make sure that _WIN32 and WINNT
>>aren't defined by default.  I.E.: I changed Chris' addition of
>>-mno-win32 to -mwin32 and defined unix, _unix, __unix and __unix__ just
>>in case.  Probably unix would have been enough.  Also, when specifying
>>-mwin32 my specs don't define the unix macros.
>
>Huh?  I don't understand.

I puzzled over this for a while too.  I think that what Earnie is saying
is that he essentially made -mno-win32 the *default* and set up a
-mwin32 for cases where you really want it.

This isn't, IMO, a good plan for a general release of gcc but I can see
why this would be attractive to people who compile a lot of UNIX stuff.
It hides the Windows stuff from some packages that insist on "doing
stuff" when they see the Windows defines and you don't have to modify
any Makefiles to get that behavior.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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