gcc -mno-cygwin

Brian Inglis Brian.Inglis@Shaw.ca
Tue Jan 24 19:35:29 GMT 2023


On 2023-01-08 01:06, Brian Inglis wrote:
> On Sat, 7 Jan 2023 14:50:02 -0500, Lee wrote:
>> The "-mno-cygwin" gcc option went away years ago.  Correct?
>>
>> It still shows up in the output of 'man gcc':
>>
>> $ man gcc | grep mno-cygwin
>>            x86 Windows Options -mconsole  -mcygwin  -mno-cygwin  -mdll
>> -mnop-fun-dllimport  -mthread -municode  -mwin32
>>
>> Is that a cygwin specific or a generic gcc man page oversight?
> 
> They were removed in 2010 except for:
> 
>      $ info gcc Invoking Option
>      /Windows
> 
> invoke.texi/Option Summary/x86 Windows Options at:
> 
> https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/doc/invoke.texi#l1454
> 
> 1453 @emph{x86 Windows Options}
> 1454 @gccoptlist{-mconsole  -mcygwin  -mno-cygwin  -mdll @gol
> 1455 -mnop-fun-dllimport  -mthread @gol
> 1456 -municode  -mwin32  -mwindows  -fno-set-stack-executable}
> 
> from which the man gcc Windows options are generated with texi2pod and pod2man.

Submitted bug report about and patch to remove these remnants:

	https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610482.html

	https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108521

-- 
Take care. Thanks, Brian Inglis			Calgary, Alberta, Canada

La perfection est atteinte			Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter	not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer	but when there is no more to cut
			-- Antoine de Saint-Exupéry


More information about the Cygwin mailing list