delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/05/07:13:57

X-Spam-Check-By: sourceware.org
Date: Mon, 5 Feb 2007 07:13:36 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Eliminating -mno-cygwin from gcc.
Message-ID: <20070205121336.GC2947@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <020d01c748b4$62d8b170$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070205030939 DOT GB24653 AT trixie DOT casa DOT cgf DOT cx> <20070205105838 DOT GA9455 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20070205105838.GA9455@calimero.vinschen.de>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Feb 05, 2007 at 11:58:38AM +0100, Corinna Vinschen wrote:
>On Feb  4 22:09, Christopher Faylor wrote:
>> On Sun, Feb 04, 2007 at 11:29:59PM -0000, 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.
>> 
>> I can remove the driver from the upstream trunk sources but, as I've
>> repeatedly said, I don't want to make -mno-cygwin available by default.
>> If we still, by default, have the option then we still have problems
>> with people not getting it.
>
>I'm somewhat concerned about this step, though.  How is the configure in
>winsup supposed to work, if you suddenly need two compilers to build
>Cygwin?  The top-level configury only takes one target, not two.  If you
>only have a linux-x-cygwin cross compiler, your build suddenly fails if
>you don't have a linux-x-mingw compiler as well.
>
>So, to build Cygwin from scratch, you first have to build two
>compilers and two binutils.  This sounds not feasible to me.
>
>Or, the configury in winsup must be changed so that you can build
>everything with the i686-pc-cygwin compiler.  This should be possible,
>shouldn't it?  It's just a question of using the right start files and
>import libs, isn't it?
>
>I would like to have this cleared before we do this crucial step.

I'll fix cygwin.  I assume that Dave will probably release a gcc
for testing and I'll make sure that cygwin builds with that.

cgf

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