From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23155 invoked by alias); 7 Jan 2002 16:49:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 23106 invoked from network); 7 Jan 2002 16:49:40 -0000 Received: from unknown (HELO smtp012.mail.yahoo.com) (216.136.173.32) by sources.redhat.com with SMTP; 7 Jan 2002 16:49:40 -0000 Received: from gate1.lci.net (HELO yahoo.com) (150.159.224.8) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Jan 2002 16:49:39 -0000 Message-ID: <3C39D182.5B9E8EC@yahoo.com> Date: Mon, 07 Jan 2002 08:49:00 -0000 From: Earnie Boyd Reply-To: CU List X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jon Leichter CC: "J. Henning Schwentner" , CU List Subject: Re: Compiling apps to Mingw32 with cygwin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00303.txt.bz2 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/