aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-10-02 14:52:07 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2010-10-02 14:52:07 +0000
commitffedf5114c8bdd5b024fb87e23b935e7d90c6ff3 (patch)
tree2bc93cf6744bf10457800aad14d751389a4dc261 /gcc/doc
parent8b932a71067075d3e0fcf99fc5bce499df08d96f (diff)
downloadgcc-ffedf5114c8bdd5b024fb87e23b935e7d90c6ff3.zip
gcc-ffedf5114c8bdd5b024fb87e23b935e7d90c6ff3.tar.gz
gcc-ffedf5114c8bdd5b024fb87e23b935e7d90c6ff3.tar.bz2
Allow to pass separate configure arguments for build, host and target.
/: PR bootstrap/45326 PR bootstrap/45174 * configure.ac: Honor initial values of $build_configargs, $host_configargs, $target_configargs. Mark the precious, so environment settings get recorded. * configure: Regenerate. gcc/: * doc/install.texi (Configuration): Document build_configargs, host_configargs, target_configargs. From-SVN: r164904
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index a54b450..ce6b5cf 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1991,6 +1991,36 @@ Do not try to compile and run a test libart program.
@end table
+@subsubheading Overriding @command{configure} test results
+
+Sometimes, it might be necessary to override the result of some
+@command{configure} test, for example in order to ease porting to a new
+system or work around a bug in a test. The toplevel @command{configure}
+script provides three variables for this:
+
+@table @code
+
+@item build_configargs
+@cindex @code{build_configargs}
+The contents of this variable is passed to all build @command{configure}
+scripts.
+
+@item host_configargs
+@cindex @code{host_configargs}
+The contents of this variable is passed to all host @command{configure}
+scripts.
+
+@item target_configargs
+@cindex @code{target_configargs}
+The contents of this variable is passed to all target @command{configure}
+scripts.
+
+@end table
+
+In order to avoid shell and @command{make} quoting issues for complex
+overrides, you can pass a setting for @env{CONFIG_SITE} and set
+variables in the site file.
+
@html
<hr />
<p>