https://gcc.gnu.org/g:393b5b4b189bf8152ec1c427a02769a61c908b01

commit r16-5713-g393b5b4b189bf8152ec1c427a02769a61c908b01
Author: Sandra Loosemore <[email protected]>
Date:   Tue Nov 18 05:01:02 2025 +0000

    doc, mingw: Clean up Cygwin and MinGW option documentation [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * doc/invoke.texi (Option Summary) <Cygwin and MinGW Options>:
            Correct spelling of -mthreads and add missing options.
            (Cygwin and MinGW Options): Add @opindex for negative forms.

Diff:
---
 gcc/doc/invoke.texi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1cd517d33394..8acf0317f737 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1029,8 +1029,9 @@ Objective-C and Objective-C++ Dialects}.
 
 @emph{Cygwin and MinGW Options} (@ref{Cygwin and MinGW Options})
 @gccoptlist{-mconsole  -mcrtdll=@var{library}  -mdll
--mnop-fun-dllimport  -mthread
--municode  -mwin32  -mwindows  -fno-set-stack-executable}
+-mnop-fun-dllimport  -mthreads
+-municode  -mwin32  -mwindows  -fno-set-stack-executable
+-fwritable-relocated-rdata  -mpe-aligned-commons}
 
 @emph{Darwin Options} (@ref{Darwin Options})
 @gccoptlist{-all_load  -allowable_client  -arch  -arch_errors_fatal
@@ -26801,6 +26802,7 @@ generated, enabling the selection of the required 
runtime
 startup object and entry point.
 
 @opindex mnop-fun-dllimport
+@opindex mno-nop-fun-dllimport
 @item -mnop-fun-dllimport
 This option is available for Cygwin and MinGW targets.  It
 specifies that the @code{dllimport} attribute should be ignored.
@@ -26811,12 +26813,14 @@ This option is available for MinGW targets. It 
specifies
 that MinGW-specific thread support is to be used.
 
 @opindex municode
+@opindex mno-unicode
 @item -municode
 This option is available for MinGW-w64 targets.  It causes
 the @code{UNICODE} preprocessor macro to be predefined, and
 chooses Unicode-capable runtime startup code.
 
 @opindex mwin32
+@opindex mno-win32
 @item -mwin32
 This option is available for Cygwin and MinGW targets.  It
 specifies that the typical Microsoft Windows predefined macros are to
@@ -26824,6 +26828,7 @@ be set in the pre-processor, but does not influence the 
choice
 of runtime library/startup code.
 
 @opindex mwindows
+@opindex mno-windows
 @item -mwindows
 This option is available for Cygwin and MinGW targets.  It
 specifies that a GUI application is to be generated by

Reply via email to