aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-02-23 17:10:34 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-02-23 17:10:34 +0000
commit70b6aaed80b78e1b1e72e84d8efc6574ef506299 (patch)
treeac8bd4c62e5d3c0b7bdca420d9cdc289503513d9 /gcc/doc
parent6be580c7b55c3e696ed1efcdaaa436211d721a96 (diff)
downloadgcc-70b6aaed80b78e1b1e72e84d8efc6574ef506299.zip
gcc-70b6aaed80b78e1b1e72e84d8efc6574ef506299.tar.gz
gcc-70b6aaed80b78e1b1e72e84d8efc6574ef506299.tar.bz2
* doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
From-SVN: r49997
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/cpp.texi12
-rw-r--r--gcc/doc/invoke.texi11
2 files changed, 16 insertions, 7 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index f22e855..1e8fd03 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -3959,10 +3959,14 @@ The rule has no commands.
Passing @option{-M} to the driver implies @option{-E}.
@item -MM
-Like @option{-M}, but mention only the files included with @code{@w{#include
-"@var{file}"}} or with @option{-include} or @option{-imacros} command line
-options. System header files included with @code{@w{#include <@var{file}>}}
-are omitted.
+Like @option{-M} but do not mention header files that are found in
+system header directories, nor header files that are included,
+directly or indirectly, from such a header.
+
+This implies that the choice of angle brackets or double quotes in an
+@samp{#include} directive does not in itself determine whether that
+header will appear in @option{-MM} dependency output. This is a
+slight change in semantics from GCC versions 3.0 and earlier.
@item -MF @var{file}
@anchor{-MF}
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1b91a10..fbc74f4 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -4045,9 +4045,14 @@ Passing @option{-M} to the driver implies @option{-E}.
@item -MM
@opindex MM
-Like @option{-M}, but mention only the files included with @samp{#include
-"@var{file}"}. System header files included with @samp{#include
-<@var{file}>} are omitted.
+Like @option{-M} but do not mention header files that are found in
+system header directories, nor header files that are included,
+directly or indirectly, from such a header.
+
+This implies that the choice of angle brackets or double quotes in an
+@samp{#include} directive does not in itself determine whether that
+header will appear in @option{-MM} dependency output. This is a
+slight change in semantics from GCC versions 3.0 and earlier.
@item -MD
@opindex MD