]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, mingw: Clean up Cygwin and MinGW option documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Tue, 18 Nov 2025 05:01:02 +0000 (05:01 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 29 Nov 2025 03:27:09 +0000 (03:27 +0000)
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.

gcc/doc/invoke.texi

index 1cd517d3339481509610b1db41517535c9b7a85b..8acf0317f737e26fd3cbab77fa1ecbd368f21d79 100644 (file)
@@ -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