diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-30 12:21:09 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-30 12:27:05 +0200 |
commit | 852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8 (patch) | |
tree | 85f9f71029cff99edecc1244cdc8e4aa7cac11ed | |
parent | e438aee224a3bff7abf08fe0da009c97297681e5 (diff) | |
download | gcc-852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8.zip gcc-852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8.tar.gz gcc-852c4b04520d19d5a75e7f9ec5a5d980d5d1acc8.tar.bz2 |
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.
-rw-r--r-- | gcc/d/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/d/gdc.texi | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 9550a6d..6592f39 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 496066c..2ce560f 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 |