delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/01/17:24:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC51DF5.8080808@cwilson.fastmail.fm>
Date: Thu, 01 Oct 2009 17:24:05 -0400
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.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc4 and -mno-cygwin
References: <806a89db0910011421h2ce0180j626bf8e135e8d14a AT mail DOT gmail DOT com>
In-Reply-To: <806a89db0910011421h2ce0180j626bf8e135e8d14a@mail.gmail.com>
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

Jim Reisert AD1C wrote:
> I understand this error:
> 
> # gcc-4 -mno-cygwin
> gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted
> cross-compiler.
> 
> However, I could find no "mingw-targeted cross-compiler" for gcc-4
> (though they seem to be there for gcc-3).  Does one exist?

Not yet, but it is coming.  for now, explicitly use 'gcc-3 -mno-cygwin'
or switch your default gcc to version 3.x by using
/usr/bin/set-gcc-default-3.sh

--
Chuck

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