Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.0.1.1.0.20040314184615.038df3a8@127.0.0.1>
X-Sender: 
Date: Sun, 14 Mar 2004 21:11:09 -0500
To: "Ben Taylor" <benjtaylor@hotpop.com>, "Cygwin List" <cygwin@cygwin.com>
From: Larry Hall <cygwin-lh@cygwin.com>
Subject: RE: Using gcc 3.3.3
In-Reply-To: <IDELIGAMJLDIKPIJFANMMEAPCAAA.benjtaylor@hotpop.com>
References: <6.0.1.1.0.20040314135245.03478640@127.0.0.1> <IDELIGAMJLDIKPIJFANMMEAPCAAA.benjtaylor@hotpop.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

'man patch'.

But according to Chris, who knows more about Cygwin's gcc than I do,
-mno-cygwin should be configurable with vanilla gcc sources.  So, if
you're having difficulty with your locally built gcc/g++, you'll 
need to figure out what's different in your environment.  

Larry


At 03:58 PM 3/14/2004, you wrote:
>How do I apply patches to my existing Cygwin installation?
>
>
>> -----Original Message-----
>> From: Larry Hall [mailto:cygwin-lh@cygwin.com]
>> Sent: 14 March 2004 18:59
>> To: Ben Taylor; cygwin@cygwin.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.


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

