[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] d: Fix documentation of -defaultlib= and -debuglib=

Tamar Christina tnfchris@gcc.gnu.org
Fri Jul 17 14:54:23 GMT 2020


https://gcc.gnu.org/g:852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8

commit 852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Thu Apr 30 12:21:09 2020 +0200

    d: Fix documentation of -defaultlib= and -debuglib=
    
    From the generated manpages, it was not clear that its usage is
    '-debuglib=<libname>'.
    
    gcc/d/ChangeLog:
    
            * gdc.texi (Options for Linking): Clarify usage of -defaultlib= and
            -debuglib= options.

Diff:
---
 gcc/d/ChangeLog | 5 +++++
 gcc/d/gdc.texi  | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 9550a6d581f..6592f3920ac 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+	* gdc.texi (Options for Linking): Clarify usage of -defaultlib= and
+	-debuglib= options.
+
 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* d-codegen.cc (d_decl_context): Don't include module in the name of
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


More information about the Gcc-cvs mailing list