public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc -mno-cygwin
@ 2023-01-07 19:50 Lee
  2023-01-08  8:06 ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Lee @ 2023-01-07 19:50 UTC (permalink / raw)
  To: cygwin

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?

TIA,
Lee

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc -mno-cygwin
  2023-01-07 19:50 gcc -mno-cygwin Lee
@ 2023-01-08  8:06 ` Brian Inglis
  2023-01-24 19:35   ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2023-01-08  8:06 UTC (permalink / raw)
  To: cygwin; +Cc: ler762

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.

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc -mno-cygwin
  2023-01-08  8:06 ` Brian Inglis
@ 2023-01-24 19:35   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2023-01-24 19:35 UTC (permalink / raw)
  To: cygwin; +Cc: ler762

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-24 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 19:50 gcc -mno-cygwin Lee
2023-01-08  8:06 ` Brian Inglis
2023-01-24 19:35   ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).