Hi,
This patch corrects the documentation of -defaultlib= and -debuglib=.
>From the generated manpages, it was not clear that its usage is
'-debuglib=<libname>'.
Verified the contents of the generated manpage, committed to mainline.
Regards
Iain.
---
gcc/d/ChangeLog:
* gdc.texi (Options for Linking): Clarify usage of -defaultlib= and
-debuglib= options.
---
gcc/d/gdc.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/d/gdc.texi b/gcc/d/gdc.texi
index 496066cb59a..2ce560f3cae 100644
--- a/gcc/d/gdc.texi
+++ b/gcc/d/gdc.texi
@@ -665,14 +665,14 @@ a link step.
@table @gcctabopt
-@item -defaultlib @var{libname}
-@cindex @option{-defaultlib}
+@item -defaultlib=@var{libname}
+@cindex @option{-defaultlib=}
Specify the library to use instead of libphobos when linking. Options
specifying the linkage of libphobos, such as @option{-static-libphobos}
or @option{-shared-libphobos}, are ignored.
-@item -debuglib
-@cindex @option{-debuglib}
+@item -debuglib=@var{libname}
+@cindex @option{-debuglib=}
Specify the debug library to use instead of libphobos when linking.
This option has no effect unless the @option{-g} option was also given
on the command line. Options specifying the linkage of libphobos, such
--
2.20.1