www.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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3C39D182.5B9E8EC@yahoo.com> |
Date: | Mon, 07 Jan 2002 11:49:06 -0500 |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | CU List <Cygwin AT cygwin DOT com> |
X-Mailer: | Mozilla 4.77 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Jon Leichter <jonleichter AT mediaone DOT net> |
CC: | "J. Henning Schwentner" <hschwentner AT yahoo DOT com>, |
CU List <Cygwin AT cygwin DOT com> | |
Subject: | Re: Compiling apps to Mingw32 with cygwin |
References: | <CIENIMJIOHKBPJEFFFOBIEAFCBAA DOT jonleichter AT mediaone DOT net> |
Jon Leichter wrote: > > - Using CC="gcc -mno-cygwin" is good for compiling, but it's bad for GNU > Libtool, as I have mentioned. I use a wrapper script: CC=mgcc. What do you > think of this Earnie? > Your wrapper script is a good idea but has the wrong name as has been pointed out already. It needs to be named i386-pc-mingw32-gcc and a copy as mingw32-gcc so that when specifying the --host=mingw32 or --host=i386-pc-mingw32 the configure script will find it appropriately. Of course to do this you also need to do the same for the binutils binaries. Yes, specifying --host without the other parts of the triplet indicates a cross build to configure. You are even warned of this fact. Specify all three to avoid configure from figuring it out on it's own. You've just been lucky enough to not configure a package that cares. Try configuring binutils if you want to see what happens with just specifying host. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |