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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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