summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorgp <gp@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 20:18:22 +0000
committergp <gp@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 20:18:22 +0000
commit4ea7092218d384d0adb449ce200524b35beea036 (patch)
tree2024f46158cf2fe259848bc8db2acaa1646bba0c /gcc/doc
parent7cf03db460c0edd5ce27df501e7ca18e621655a4 (diff)
downloadgcc-4ea7092218d384d0adb449ce200524b35beea036.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68223 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 4ba28b5dccc..52697e157b6 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