www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/06/21:56:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 06 May 2008 21:55:27 -0400
From: Bob Rossi <bob_rossi AT cox DOT net>
Subject: Re: Newbie needs help using mingw with cygwin
In-reply-to: <48210A92.6A9674F6@dessent.net>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20080507015527.GC14306@brasko.net>
MIME-version: 1.0
References: <loom DOT 20080506T012312-150 AT post DOT gmane DOT org> <E1JtC2R-0006lX-F2 AT ciao DOT gmane DOT org> <BLU145-W2465742F9F668F6A6E4FBCEED60 AT phx DOT gbl> <20080506231036 DOT GA27910 AT ednor DOT casa DOT cgf DOT cx> <loom DOT 20080506T232849-171 AT post DOT gmane DOT org> <20080506235700 DOT GA28066 AT ednor DOT casa DOT cgf DOT cx> <loom DOT 20080507T002123-723 AT post DOT gmane DOT org> <48210A92 DOT 6A9674F6 AT dessent DOT net>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Tue, May 06, 2008 at 06:49:06PM -0700, Brian Dessent wrote:
> If you really want to use Cygwin as a host to build MinGW (native
> windows) programs you need to treat it like cross compiling and specify
> "--host=i686-pc-mingw32".  But this is most likely NOT what you intended
> to accomplish at all in this case.

Hi Brian,

I've been wondering about this. Why is it necessary to "cross-compile"
from cygwin to mingw when the cygwin environment has the native mingw
compiler? To me, it seems like if the mingw compiler is capable of
running in the build environment, it should just be called and work. 

Is the cygwin mingw compiler a cross compiler? or is it the actual
native mingw compiler?

Thanks,
Bob Rossi

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