This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Documentation on -mno-cygwin Accuracy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]