* invoke.texi: Restore documentation of the drivers' switches -MD
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2001 18:28:14 +0000 (18:28 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2001 18:28:14 +0000 (18:28 +0000)
and -MMD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38920 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/invoke.texi

index cd7d321..5189ef8 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+        * invoke.texi: Restore documentation of the drivers' switches -MD
+       and -MMD.
+
 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
index b9cddc8..3bad568 100644 (file)
@@ -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