diff options
author | Graeme Peterson <gp@qnx.com> | 2003-06-19 20:18:22 +0000 |
---|---|---|
committer | Graeme Peterson <gp@gcc.gnu.org> | 2003-06-19 20:18:22 +0000 |
commit | e7f13528d26e40c1f2cef95b9d821e063395c8da (patch) | |
tree | 2024f46158cf2fe259848bc8db2acaa1646bba0c /gcc/doc/tm.texi | |
parent | 97460e9a72f58b34eb0b46cf672cb469a759e5fb (diff) | |
download | gcc-e7f13528d26e40c1f2cef95b9d821e063395c8da.zip gcc-e7f13528d26e40c1f2cef95b9d821e063395c8da.tar.gz gcc-e7f13528d26e40c1f2cef95b9d821e063395c8da.tar.bz2 |
gcc.c (target_sysroot_suffix, [...]): New.
* gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
sysroot_hdrs_suffix_spec): New.
(static_specs): Initialize new variables.
(add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
* doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
New macros.
From-SVN: r68223
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4ba28b5..52697e1 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -320,6 +320,19 @@ blanks that names one of the recognized thread models. @code{%*}, the default value of this macro, will expand to the value of @code{thread_file} set in @file{config.gcc}. +@findex SYSROOT_SUFFIX_SPEC +@item SYSROOT_SUFFIX_SPEC +Define this macro to add a suffix to the target sysroot when GCC is +configured with a sysroot. This will cause GCC to search for usr/lib, +et al, within sysroot+suffix. + +@findex SYSROOT_HEADERS_SUFFIX_SPEC +@item SYSROOT_HEADERS_SUFFIX_SPEC +Define this macro to add a headers_suffix to the target sysroot when +GCC is configured with a sysroot. This will cause GCC to pass the +updated sysroot+headers_suffix to CPP@, causing it to search for +usr/include, et al, within sysroot+headers_suffix. + @findex EXTRA_SPECS @item EXTRA_SPECS Define this macro to provide additional specifications to put in the |