delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/31/11:25:54

X-Spam-Check-By: sourceware.org
Message-ID: <45C0C2F9.1B79ED28@dessent.net>
Date: Wed, 31 Jan 2007 08:25:29 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Eliminating -mno-cygwin from gcc?
References: <20070131131337 DOT GA17256 AT trixie DOT casa DOT cgf DOT cx> <45C0971E DOT 4080305 AT byu DOT net> <20070131132700 DOT GA3478 AT implementation DOT labri DOT fr> <20070131133102 DOT GA17405 AT trixie DOT casa DOT cgf DOT cx> <20070131134842 DOT GU27843 AT calimero DOT vinschen DOT de> <050901c74547$76f60e20$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070131154054 DOT GC19137 AT trixie DOT casa DOT cgf DOT cx> <17393e3e0701310808s2e8e77d9t638d0e90a83c3ecb AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Matt Wozniski wrote:

> phase out this 'feature'?  While I agree that it wasn't a good feature
> to add in the first place, I think that removing it without at least a
> deprecation warning for a version or two will flood the mailing list
> with traffic by people who didn't realize that something they used was
> being phased out until they upgraded and things just "broke".

The reason for removing it is because it causes a lot of confusion.  We
get endless messages to the cygwin list by people that misunderstand
what -mno-cygwin does.  They think it is some kind of magic pixie dust
that can make .exes that do no depend on cygwin1.dll while still using
POSIX features like sockets.  They may have no idea what MinGW even is,
and so when we tell them they are in fact using it and should ask on the
MinGW list, they get confused.  And the MinGW list is very reticent to
help when you mention that you're using Cygwin with gcc -mno-cygwin.  It
kind of puts you in a no-mans land.

I totally support the notion to remove this flag, provided that we also
include a genuine MinGW cross compiler in the distro.  And we can even
provide a wrapper script if necessary to map -mno-cygwin onto the
cross-gcc.

I tend to think though that perhaps this should be part of the 4.x
porting process, and that we should not even consider bothering to make
this change to the existing versions.  Since 4.x has a lot of changes
anyway, it would be the most appropriate time to introduce such a
change.

I suspect that when we do roll out 4.x it will have to be named in a way
that accomodates installing it in parallel to 3.4 (like we had with 2.95
and 3.3 for a while), since there are still lots of packages that choke
when compiled with 4.x.  This means there will be an additional safety
valve for the complainers in that they can just continue using 3.4 with
its existing support for -mno-cygwin.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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