https://gcc.gnu.org/g:0bbbc432cb2cf5877f7314d2d77f3a59e6d78e50
commit r16-7021-g0bbbc432cb2cf5877f7314d2d77f3a59e6d78e50 Author: Sandra Loosemore <[email protected]> Date: Mon Jan 19 02:58:41 2026 +0000 doc, lynx: Document LynxOS options [PR122243] The LynxOS port of GCC has been around for a long time but its target-specific options have never been documented. Fixed thusly. gcc/ChangeLog PR other/122243 * doc/invoke.texi (Option Summary) <LynxOS Options>: New. (LynxOS Options): New section. Diff: --- gcc/doc/invoke.texi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d690305a890a..686dcc917ead 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1173,6 +1173,9 @@ Objective-C and Objective-C++ Dialects}. -mscq -mtls-dialect=@var{opt} -mannotate-tablejump} +@emph{LynxOS Options} (@ref{LynxOS Options}) +@gccoptlist{-mshared -mthreads -mlegacy-threads} + @emph{M32C Options} (@ref{M32C Options}) @gccoptlist{-mcpu=@var{cpu} -msim -memregs=@var{number}} @@ -22522,6 +22525,7 @@ platform. * IA-64 Options:: * LM32 Options:: * LoongArch Options:: +* LynxOS Options:: * M32C Options:: * M32R/D Options:: * M680x0 Options:: @@ -29200,6 +29204,27 @@ loop. The default value is six. @end table +@node LynxOS Options +@subsection LynxOS Options +@cindex LynxOS Options + +These options are available for LynxOS targets. + +@table @gcctabopt + +@opindex mshared +@item -mshared +Use shared libraries. The default is to link with static libraries. + +@opindex mthreads +@item -mthreads +Support multi-threading. + +@opindex mlegacy-threads +@item -mlegacy-threads +Support legacy multi-threading. +This option is incompatible with @option{-mthreads}. +@end table @node M32C Options @subsection M32C Options
