www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/08/17:57:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <1220909037 DOT 6401 DOT ezmlm AT cygwin DOT com> <COL101-W55107222466828EA3A4B5FE6550 AT phx DOT gbl>
Subject: RE: Difficulty building gcc 4.3.2 under i386-pc-cygwin
Date: Mon, 8 Sep 2008 22:57:10 +0100
Message-ID: <028201c911fd$d826cf70$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <COL101-W55107222466828EA3A4B5FE6550@phx.gbl>
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

Jay wrote on 08 September 2008 22:44:

>  If you /really/ want to go through intermediate versions,
>  then just remove -disable-bootstrap.

  I'd highly recommend always building a full bootstrap, but of course it does
take longer.

>  Or build twice, should be about the same thing:

  I wouldn't rely on that myself.

>   Without -disable-bootstrap, gcc gets built with the existing compiler
>   (gcc 3.x in a typical Cygwin case, but the larger point is it could be
>   not even gcc), and then uses itself to build itself.
> 
>   That it is able to build itself is some large measure of a passing test.

  More than that: it builds itself, then uses the one it built to build itself
again, then compares that the two generate the exact same binaries (except
timestamps).  That's a good indicator of consistency and that it's independent
of the host compiler altogether.
 
>   Look at gcc -v for other suggested switches to configure.
>   Such as the thread model. It seems to default to none instead of posix.

  On the whole, it's as well not to use any configure switches that you don't
know for a fact are absolutely necessary.  The default values should be sane
for the platform.

>   But what I show above is an ok start.

  You shouldn't need --disable-nls any more these days, I haven't had to use
it in quite a while.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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