This is the mail archive of the
mailing list for the Cygwin project.
Re: Documentation on -mno-cygwin Accuracy
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple