delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/14/16:32:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: Rolf Campbell <Endlisnis AT mailc DOT net>
Subject: Re: Using gcc 3.3.3
Date: Sun, 14 Mar 2004 16:31:59 -0500
Lines: 76
Message-ID: <c32j0f$up$1@sea.gmane.org>
References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040314135245 DOT 03478640 AT 127 DOT 0 DOT 0 DOT 1> <IDELIGAMJLDIKPIJFANMIEAPCAAA DOT benjtaylor AT hotpop DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: cpe0006254406f3-cm014260033562.cpe.net.cable.rogers.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
In-Reply-To: <IDELIGAMJLDIKPIJFANMIEAPCAAA.benjtaylor@hotpop.com>

Building gcc (natively) always requires a working gcc to be present, how 
else would it compile itself?

Ben Taylor wrote:
> What I don't get is why when I built 3.3.3 using 'make' and then 'make
> install' (it failed to do 'make bootstrap') it relied on the fact that
> cygwin was installed in the first place. Why then is that, does it require
> some unix based functionality that only cygwin provides to a windows pc?
> 
> 
> 
>>-----Original Message-----
>>From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com]
>>Sent: 14 March 2004 18:59
>>To: Ben Taylor; cygwin AT cygwin DOT com
>>Subject: Re: Using gcc 3.3.3
>>
>>
>>At 09:50 AM 3/14/2004, you wrote:
>>
>>>Hi
>>>
>>>I have got Cygwin running on my windows XP pc, using gcc 3.3.1.
>>
>>I downloaded
>>
>>>gcc 3.3.3 release, and managed to build it, however when I tried
>>
>>to compile
>>
>>>a windows application using it it compiled ok but gave a linker error
>>>'couldn't find crt2.o'. It gave this error when I was trying to compile
>>>with -mno-cygwin, which worked with gcc 3.3.1. I found that this
>>
>>file was in
>>
>>>c:/cygwin/lib/mingw, but passing an option on to the linker such
>>>as -Wl,"-Lc:/cygwin/lib/mingw" or other variations on this didn't work.
>>>However when I copied the crt2.o file to c:/cygwin/lib, it
>>
>>worked! But then
>>
>>>I read that -mno-cygwin wasn't  included on gcc 3.3.3. So was
>>
>>this a fluke?
>>
>>>Or is there a standard way to use gcc 3.3.3 on cygwin?
>>>
>>>Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with
>>
>>cygwin to
>>
>>>link, it also works fine! Is it then actually using the benefits
>>
>>of the more
>>
>>>modern version?
>>
>>
>>The gcc compiler suite for Cygwin contains patches to include the
>>'-mno-cygwin' switch.  Since gcc 3.3.3 isn't part of the Cygwin
>>distribution yet, you would need to patch your local version if
>>you want this functionality prior to it's inclusion in Cygwin.
>>
>>
>>
>>--
>>Larry Hall                              http://www.rfk.com
>>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>>838 Washington Street                   (508) 893-9889 - FAX
>>Holliston, MA 01746
>>
> 
> 
> 
> 


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