aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-01-11 18:28:14 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-01-11 18:28:14 +0000
commit7da723efd9260109e3a67eeab1952cde933e7820 (patch)
tree7ac4aa104362cc9f3c3e4982836a8eef46751050 /gcc/invoke.texi
parent57043d914ef9b38654129f5b9fa1161a229ad4ae (diff)
downloadgcc-7da723efd9260109e3a67eeab1952cde933e7820.zip
gcc-7da723efd9260109e3a67eeab1952cde933e7820.tar.gz
gcc-7da723efd9260109e3a67eeab1952cde933e7820.tar.bz2
invoke.texi: Restore documentation of the drivers' switches -MD and -MMD.
* invoke.texi: Restore documentation of the drivers' switches -MD and -MMD. From-SVN: r38920
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index b9cddc8..3bad568 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -3317,6 +3317,25 @@ Like @samp{-M}, but mention only the files included with @samp{#include
"@var{file}"}. System header files included with @samp{#include
<@var{file}>} are omitted.
+@item -MD
+@findex -MD
+Like @samp{-M} but the dependency information is written to a file
+rather than stdout. @code{gcc} will use the same file name and
+directory as the object file, but with the suffix ".d" instead.
+
+This is in addition to compiling the main file as specified ---
+@samp{-MD} does not inhibit ordinary compilation the way @samp{-M} does,
+unless you also specify @samp{-MG}.
+
+With Mach, you can use the utility @code{md} to merge multiple
+dependency files into a single dependency file suitable for using with
+the @samp{make} command.
+
+@item -MMD @var{file}
+@findex -MMD
+Like @samp{-MD} except mention only user header files, not system
+-header files.
+
@item -MF @var{file}
@findex -MF
When used with @samp{-M} or @samp{-MM}, specifies a file to write the