Documentation on -mno-cygwin Accuracy

Earnie Boyd earnie@users.sourceforge.net
Tue Feb 7 12:27:00 GMT 2012


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



More information about the Cygwin mailing list