From: Iain Buclaw Date: Thu, 30 Apr 2020 10:21:09 +0000 (+0200) Subject: d: Fix documentation of -defaultlib= and -debuglib= X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8;p=gcc.git d: Fix documentation of -defaultlib= and -debuglib= From the generated manpages, it was not clear that its usage is '-debuglib='. gcc/d/ChangeLog: * gdc.texi (Options for Linking): Clarify usage of -defaultlib= and -debuglib= options. --- 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 + + * gdc.texi (Options for Linking): Clarify usage of -defaultlib= and + -debuglib= options. + 2020-04-29 Iain Buclaw * 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