delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <1328569526.8848.3.camel@YAAKOV04> |
Subject: | Re: Documentation on -mno-cygwin Accuracy |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin DOT com |
Date: | Mon, 06 Feb 2012 17:05:26 -0600 |
In-Reply-To: | <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A@mail.gmail.com> |
References: | <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
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 Mon, 2012-02-06 at 16:27 -0600, Quinn Wood wrote: > On the FAQ section 6.10 "How do I compile a Win32 executable that > doesn't use Cygwin?" reads: > > "(Please note: This section has not yet been updated for the latest > net release.) > > "The -mno-cygwin flag to gcc makes gcc link against standard Microsoft > DLLs instead of Cygwin. This is desirable for native Windows programs > that don't need a UNIX emulation layer. > > "This is not to be confused with 'MinGW' (Minimalist GNU for Windows), > which is a completely separate effort. That project's home page is > http://www.mingw.org/index.shtml. " > > Is this indeed outdated information? The flag seems to work for some > very basic C applications, but I am having trouble with a few more > complex pieces of software. 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. Yaakov -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |