delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/18/12:02:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Thu, 18 Feb 2010 17:58:40 +0100
From: Gary <cygwin AT garydjones DOT name>
To: cygwin AT cygwin DOT com
Subject: Re: setup.exe - a small feature request
Message-ID: <20100218165840.GA3932@mimosa.garydjones.name>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20100218104928 DOT GA2684 AT mimosa DOT garydjones DOT name> <4B7D3854 DOT 3070801 AT byu DOT net> <4B7D4445 DOT 5060808 AT bopp DOT net> <20100218145226 DOT GA2248 AT mimosa DOT garydjones DOT name> <4B7D63DE DOT 7060700 AT cs DOT umass DOT edu> <20100218160414 DOT GA27154 AT ednor DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20100218160414.GA27154@ednor.casa.cgf.cx>
X-IsSubscribed: yes
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 Thu, Feb 18, 2010 at 11:04:14AM -0500, Christopher Faylor wrote:
> On Thu, Feb 18, 2010 at 10:59:26AM -0500, Eliot Moss wrote:
> >On 2/18/2010 9:52 AM, Gary wrote:

> >> configure:3021: checking whether the C++ compiler works
> >> configure:3043: g++ -mno-cygwin  -I /usr/include/ncurses  conftest.cpp>&5
> >> g++: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler\
> >> .
> >>
> >> configure:3047: $? = 1
> >> configure:3085: result: no
> >> configure: failed program was:
> >> (etc.)
> >>
> >> WTH? Am I supposed to be using some other compiler, such as gcc-3?
> >>
> >> (Note: removing the -mno-cygwin option seems to make configure work, but
> >> the knock on effect is probably not desirable.)
> >
> >I think the answer is to install and use mingw.

> No, the answer is to use gcc-3.  It should be fairly obvious that setup
> can't be built with gcc-4 right now, once you attempt to try to build it.

Thanks.
./configure -C --disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin"
and the following 'make' seem to work fine. I sort of assumed it was
that, but thought it was best to clarify first. Is it worth updating the
README to clarify this, or are you expecting the -mno-cygwin option to
be in a later release of gcc?

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