aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-02-18 14:47:39 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-02-18 09:47:39 -0500
commitd0a5eb32df615e73d447aa22f47e571baa4ecd18 (patch)
tree687fb130b82728f18ea69748aa1df6b1c00330a3 /gcc
parent751aa7cc88d7267cd95cf1513558a9424e46c694 (diff)
downloadgcc-d0a5eb32df615e73d447aa22f47e571baa4ecd18.zip
gcc-d0a5eb32df615e73d447aa22f47e571baa4ecd18.tar.gz
gcc-d0a5eb32df615e73d447aa22f47e571baa4ecd18.tar.bz2
* invoke.texi (-I): Add note avoiding use for system header files.
From-SVN: r39833
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/invoke.texi9
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a4b2bf..de3a604 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+ * invoke.texi (-I): Add note avoiding use for system header files.
+
* rtl.h (add_clobbers): Remove duplicate declaration.
* recog.h (added_clobbers_hard_reg_p): New declaration.
* genemit.c (struct clobber_pat): New field has_hard_reg.
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index a6c67b0..be11494 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -1,4 +1,5 @@
-@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+@c 2000, 2001 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -3792,8 +3793,10 @@ libraries and for parts of the compiler:
Add the directory @var{dir} to the head of the list of directories to be
searched for header files. This can be used to override a system header
file, substituting your own version, since these directories are
-searched before the system header file directories. If you use more
-than one @samp{-I} option, the directories are scanned in left-to-right
+searched before the system header file directories. However, you should
+not use this option to add directories that contain vendor-supplied
+system header files (use @samp{-isystem} for that). If you use more than
+one @samp{-I} option, the directories are scanned in left-to-right
order; the standard system directories come after.
@item -I-