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

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <COL101-W55107222466828EA3A4B5FE6550@phx.gbl>
From: Jay <jay DOT krell AT cornell DOT edu>
To: <cygwin AT cygwin DOT com>, <tmacchant2 AT yahoo DOT co DOT jp>, <wewo AT smallwaters DOT com>
Subject: RE: Difficulty building gcc 4.3.2 under i386-pc-cygwin
Date: Mon, 8 Sep 2008 21:43:37 +0000
In-Reply-To: <1220909037.6401.ezmlm@cygwin.com>
References: <1220909037 DOT 6401 DOT ezmlm AT cygwin DOT com>
MIME-Version: 1.0
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m88LiPlU028317

You can build gcc 4.3.1 and 4.3.2 just fine from the existing Cygwin gcc 3.x package.
 
 
The error also /appeared/ to have the object directory under the source
directory. Don't do that. 
 
 
 I use roughly: 
 
 
  mkdir /obj/gcc.1 
  cd /obj/gcc.1 
  /src/gcc/configure -disable-nls -disable-bootstrap 
  make 
  
  
it generally works.
  
  
There is no need to go through intermediate versions,
  not in going from Cygwin's 3.x to current 4.3.x. (I'll try 4.4/trunk soon). 
  
  
 If you /really/ want to go through intermediate versions, 
 then just remove -disable-bootstrap. 

 Or build twice, should be about the same thing:  
  mkdir /obj/gcc.1 
  cd /obj/gcc.1 
  /src/gcc/configure -disable-nls -disable-bootstrap 
  make 
  make install 
  rm -rf * 
  /src/gcc/configure -disable-nls -disable-bootstrap 
  make 
  make install 
 
  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.   
 
  Look at gcc -v for other suggested switches to configure. 
  Such as the thread model. It seems to default to none instead of posix. 
  But what I show above is an ok start.  
  
 
 - Jay

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