X-Spam-Check-By: sourceware.org
Date: Mon, 5 Feb 2007 23:50:12 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: "Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net>
cc: cygwin@cygwin.com
Subject: Re: Eliminating -mno-cygwin from gcc.
In-Reply-To: <45C69F2F.2060300@users.sourceforge.net>
Message-ID: <Pine.GSO.4.63.0702052348340.28605@access1.cims.nyu.edu>
References: <020d01c748b4$62d8b170$2e08a8c0@CAM.ARTIMI.COM>  <45C69F2F.2060300@users.sourceforge.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sun, 4 Feb 2007, Yaakov (Cygwin Ports) wrote:

> Dave Korn wrote:
> >
> >   There have been no serious objections, so I think we should go
> > ahead. Perhaps we should replace the gcc, g++, g77 etc. drivers with
> > shell scripts that look for -mno-cygwin on the command line and
> > redirect to i686-pc-mingw-{gcc,g++,etc} or to
> > i686-pc-cygwin-{gcc,g++,etc}, just to make life easier for the
> > backwardly-compatible, but I don't see any reason not to go ahead and
> > remove the option from the driver.
>
> Will using shell wrappers noticably slow down calls to gcc?  Or should
> we just start explicitly calling i686-pc-cygwin-gcc instead?  (FWIW
> Gentoo does the equivalent of the latter.)

I don't think speed itself will be a problem, unless the scripts are
really naive and involve lots of forks.  However, as I noted before,
scripts cannot be invoked from non-Cygwin programs.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

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

