delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/27/21:22:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,FB_WORD1_END_DOLLAR,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <497FC147.306@cwilson.fastmail.fm>
Date: Tue, 27 Jan 2009 21:21:59 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: RFD: cygwin + *native* MinGW compiler
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

Pursuant to a discussion on the libtool list, I'm trying to get a feel
for how many cygwin users rely on the cygwin environment to drive the
*native* MinGW gcc compiler.  That is, incantations like this:

1a)
cygwin$ some-src-pkg/configure \
  --build=i686-pc-cygwin --host=mingw32 \
  CC=/c/MinGW/bin/gcc.exe \
  CXX=/c/MinGW/bin/g++.exe \
  NM=/c/MinGW/bin/nm.exe \
  DLLTOOL=/c/MinGW/bin/dlltool.exe \
  OBJDUMP=/c/MinGW/bin/objdump.exe \
  LD=/c/MinGW/bin/ld.exe

or possibly

1b)
cygwin$ export PATH=/c/MinGW/bin:$PATH
cygwin$ some-src-pkg/configure \
  --build=i686-pc-cygwin --host=mingw32

Note that this is *DIFFERENT* than installing a true cygwin-hosted
mingw-target cross-compiler, and just doing

2)
cygwin$ some-src-pkg/configure \
  --build=i686-pc-cygwin --host=i686-pc-mingw32

It is ALSO different than the (deprecated, unsupported,
go-away-don't-bother-us) incantation:

3)
cygwin$ some-src-pkg/configure \
  --build=i686-pc-cygwin --host=i686-pc-mingw32 \
  CFLAGS='-mno-cygwin'

I hope this is considered on-topic here, because I'm interested in the
uses of the cygwin environment itself.  I don't want reports of why it
doesn't work, or how hard it is to get one of the incantations above to
work.  I just want to get an idea of how many people are currently,
actually, successfully, doing something like 1a) or 1b) above.

--
Chuck

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