diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-03-22 20:38:27 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-03-22 20:38:27 +0000 |
commit | 9a200623651c1fe91e2377235e302da84dd47e18 (patch) | |
tree | 2bc90b2b69bca238979afbdfab5748dfe632c623 /gcc/doc/cppopts.texi | |
parent | dd4a64247f0e8fb81da6be573bb03b95ad2c0846 (diff) |
c-incpath.c (add_sysroot_to_chain): New.
* c-incpath.c (add_sysroot_to_chain): New.
(merge_include_chains): Add sysroot argument. Call
add_sysroot_to_chain if sysrooted.
(register_include_chains): Update call to merge_include_chains.
* doc/cppopts.texi: Document use of '=' in include directory
arguments.
From-SVN: r123134
Diffstat (limited to 'gcc/doc/cppopts.texi')
-rw-r--r-- | gcc/doc/cppopts.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index fbd6f80790a..17235bdae58 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -65,6 +65,8 @@ of system headers are not defeated (@pxref{System Headers}) @end ifset . +If @var{dir} begins with @code{=}, then the @code{=} will be replaced +by the sysroot prefix; see @option{--sysroot} and @option{-isysroot}. @item -o @var{file} @opindex o @@ -464,6 +466,8 @@ specified by @option{-include}. Search @var{dir} for header files, but do it @emph{after} all directories specified with @option{-I} and the standard system directories have been exhausted. @var{dir} is treated as a system include directory. +If @var{dir} begins with @code{=}, then the @code{=} will be replaced +by the sysroot prefix; see @option{--sysroot} and @option{-isysroot}. @item -iprefix @var{prefix} @opindex iprefix @@ -499,6 +503,8 @@ is applied to the standard system directories. @ifset cppmanual @xref{System Headers}. @end ifset +If @var{dir} begins with @code{=}, then the @code{=} will be replaced +by the sysroot prefix; see @option{--sysroot} and @option{-isysroot}. @item -iquote @var{dir} @opindex iquote @@ -509,6 +515,8 @@ Search @var{dir} only for header files requested with @ifset cppmanual @xref{Search Path}. @end ifset +If @var{dir} begins with @code{=}, then the @code{=} will be replaced +by the sysroot prefix; see @option{--sysroot} and @option{-isysroot}. @item -fdollars-in-identifiers @opindex fdollars-in-identifiers |