delorie.com/archives/browse.cgi | search |
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 |
From: | "Ben Taylor" <benjtaylor AT hotpop DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Using gcc 3.3.3 |
Date: | Sun, 14 Mar 2004 14:50:36 -0000 |
Message-ID: | <IDELIGAMJLDIKPIJFANMAEAOCAAA.benjtaylor@hotpop.com> |
MIME-Version: | 1.0 |
X-HotPOP: | ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- |
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? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |