Commit 852c4b04 by Iain Buclaw

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.
parent e438aee2
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> 2020-04-29 Iain Buclaw <ibuclaw@gdcproject.org>
* d-codegen.cc (d_decl_context): Don't include module in the name of * d-codegen.cc (d_decl_context): Don't include module in the name of
......
...@@ -665,14 +665,14 @@ a link step. ...@@ -665,14 +665,14 @@ a link step.
@table @gcctabopt @table @gcctabopt
@item -defaultlib @var{libname} @item -defaultlib=@var{libname}
@cindex @option{-defaultlib} @cindex @option{-defaultlib=}
Specify the library to use instead of libphobos when linking. Options Specify the library to use instead of libphobos when linking. Options
specifying the linkage of libphobos, such as @option{-static-libphobos} specifying the linkage of libphobos, such as @option{-static-libphobos}
or @option{-shared-libphobos}, are ignored. or @option{-shared-libphobos}, are ignored.
@item -debuglib @item -debuglib=@var{libname}
@cindex @option{-debuglib} @cindex @option{-debuglib=}
Specify the debug library to use instead of libphobos when linking. Specify the debug library to use instead of libphobos when linking.
This option has no effect unless the @option{-g} option was also given This option has no effect unless the @option{-g} option was also given
on the command line. Options specifying the linkage of libphobos, such on the command line. Options specifying the linkage of libphobos, such
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment