diff --git a/gcc/config/i386/mingw-w64.opt.urls b/gcc/config/i386/mingw-w64.opt.urls index 6bb53ef29b2..5cceba1d1a1 100644 --- a/gcc/config/i386/mingw-w64.opt.urls +++ b/gcc/config/i386/mingw-w64.opt.urls @@ -1,5 +1,5 @@ ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/mingw-w64.opt and generated HTML municode -UrlSuffix(gcc/x86-Windows-Options.html#index-municode) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-municode) diff --git a/gcc/config/lynx.opt.urls b/gcc/config/lynx.opt.urls index 63e7b9c4b33..b547138f7ff 100644 --- a/gcc/config/lynx.opt.urls +++ b/gcc/config/lynx.opt.urls @@ -1,5 +1,5 @@ ; Autogenerated by regenerate-opt-urls.py from gcc/config/lynx.opt and generated HTML mthreads -UrlSuffix(gcc/x86-Windows-Options.html#index-mthreads-1) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mthreads-1) diff --git a/gcc/config/mingw/cygming.opt.urls b/gcc/config/mingw/cygming.opt.urls index 87799befe3c..c624e22e442 100644 --- a/gcc/config/mingw/cygming.opt.urls +++ b/gcc/config/mingw/cygming.opt.urls @@ -1,30 +1,30 @@ ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/cygming.opt and generated HTML mconsole -UrlSuffix(gcc/x86-Windows-Options.html#index-mconsole) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mconsole) mdll -UrlSuffix(gcc/x86-Windows-Options.html#index-mdll) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mdll) mnop-fun-dllimport -UrlSuffix(gcc/x86-Windows-Options.html#index-mnop-fun-dllimport) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mnop-fun-dllimport) ; skipping UrlSuffix for 'mthreads' due to multiple URLs: +; duplicate: 'gcc/Cygwin-and-MinGW-Options.html#index-mthreads-1' ; duplicate: 'gcc/x86-Options.html#index-mthreads' -; duplicate: 'gcc/x86-Windows-Options.html#index-mthreads-1' mwin32 -UrlSuffix(gcc/x86-Windows-Options.html#index-mwin32) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mwin32) mwindows -UrlSuffix(gcc/x86-Windows-Options.html#index-mwindows) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mwindows) mpe-aligned-commons -UrlSuffix(gcc/x86-Windows-Options.html#index-mpe-aligned-commons) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mpe-aligned-commons) fset-stack-executable -UrlSuffix(gcc/x86-Windows-Options.html#index-fno-set-stack-executable) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-fno-set-stack-executable) fwritable-relocated-rdata -UrlSuffix(gcc/x86-Windows-Options.html#index-fno-writable-relocated-rdata) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-fno-writable-relocated-rdata) diff --git a/gcc/config/mingw/mingw.opt.urls b/gcc/config/mingw/mingw.opt.urls index 2cbbaadf310..f8ee5be6a53 100644 --- a/gcc/config/mingw/mingw.opt.urls +++ b/gcc/config/mingw/mingw.opt.urls @@ -1,7 +1,7 @@ ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/mingw.opt and generated HTML mcrtdll= -UrlSuffix(gcc/x86-Windows-Options.html#index-mcrtdll) +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mcrtdll) ; skipping UrlSuffix for 'pthread' due to multiple URLs: ; duplicate: 'gcc/Link-Options.html#index-pthread-1' diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ed03a613b4b..ddcd5213f06 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1499,6 +1499,8 @@ See RS/6000 and PowerPC Options. -munroll-only-small-loops -mlam=@var{choice}} @emph{x86 Windows Options} + +@emph{Cygwin and MinGW Options} @gccoptlist{-mconsole -mcrtdll=@var{library} -mdll -mnop-fun-dllimport -mthread -municode -mwin32 -mwindows -fno-set-stack-executable} @@ -21041,6 +21043,7 @@ platform. * C6X Options:: * CRIS Options:: * C-SKY Options:: +* Cygwin and MinGW Options:: * Darwin Options:: * DEC Alpha Options:: * eBPF Options:: @@ -36316,6 +36319,13 @@ positions 62:57 can be used for metadata. @cindex x86 Windows Options @cindex Windows Options for x86 +@xref{Cygwin and MinGW Options}. + +@node Cygwin and MinGW Options +@subsection Cygwin and MinGW Options +@cindex Cygwin and MinGW Options +@cindex Options for Cygwin and MinGW + These additional options are available for Microsoft Windows targets: @table @gcctabopt