X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-VR-Score: -30.00
X-Authority-Analysis: v=1.1 cv=zpAh8NT9SzMisnlzmt6xnbL/Bv7XoKhaPoxN5FSWxDQ= c=1 sm=1 a=4Ap5vyIaZzsA:10 a=8nJEP1OIZ-IA:10 a=BAttmrbmYbfLzyTigfg2Rg==:17 a=iMr9vrbpDC3wTepELFYA:9 a=-KFUA_YfgH-TiLKrPMkA:7 a=bVUQixBoVUBr3jjM71hu1L6mfOYA:4 a=wPNLvfGTeEIA:10 a=BAttmrbmYbfLzyTigfg2Rg==:117
X-CM-Score: 0.00
Authentication-Results: cox.net; none
Message-ID: <4CB73F2C.4030601@cox.net>
Date: Thu, 14 Oct 2010 13:34:36 -0400
From: "David A. Cobb" <superbiskit@cox.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Using Cygwin MINGW compilers from Eclipse
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

   The Eclipse IDE offers to use Cygwin or MinGW toolchains to build 
applications.

Within the Cygwin applications, however, there is a possibility of using 
the "MinGW-gcc" collection as a sort of cross-compile to produce . . . 
what?  Presumably, an executable that will run on a Windoze machine with 
only native support libraries.

So, the first question is -- is the output executable from Cygwin-Mingw 
compilation the same as one produced by using the MinGW-project 
compilers with (if needed) MSYS.

Second, what has to be done to make such an executable?  That is, will 
an appropriate set of CCFLAG settings select the Cygwin-MinGW compiler? 
  Or, is some other "trick" needed so that "gcc" means using the MinGW 
compiler?

-- 
David A. Cobb -- computing t-rex



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

