delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/14/13:34:55

X-Recipient: archive-cygwin AT delorie DOT 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 AT cox DOT 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 AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Using Cygwin MINGW compilers from Eclipse
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

   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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019