X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1328569526.8848.3.camel@YAAKOV04> References: <1328569526 DOT 8848 DOT 3 DOT camel AT YAAKOV04> Date: Tue, 7 Feb 2012 07:26:58 -0500 Message-ID: Subject: Re: Documentation on -mno-cygwin Accuracy From: Earnie Boyd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q17CRPEu016346 On Mon, Feb 6, 2012 at 6:05 PM, Yaakov (Cygwin/X) > > The -mno-cygwin flag is still handled by gcc3, but that is deprecated > and may be removed at any time.  The officially supported way to build > such apps is to use the appropriate mingw or mingw64 cross-compiler. > AIUI -mno-cygwin doesn't work on MinGW GCC and has already been removed. $ gcc --version gcc.exe (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ gcc -mno-cygwin -c a.c cc1.exe: error: unrecognized command line option '-mno-cygwin' -- Earnie -- https://sites.google.com/site/earnieboyd -- 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