Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 3 Nov 2000 22:31:44 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@sources.redhat.com
Subject: Re: [Perl 5.6] Cpan.pm
Message-ID: <20001103223144.A15372@redhat.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <20001104030805.13370.qmail@web115.yahoomail.com> <3A038229.47D03562@ece.gatech.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

