From e7f13528d26e40c1f2cef95b9d821e063395c8da Mon Sep 17 00:00:00 2001 From: Graeme Peterson Date: Thu, 19 Jun 2003 20:18:22 +0000 Subject: 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 --- gcc/doc/tm.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gcc/doc') 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 -- cgit v1.1