aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Schlüter <tobi@gcc.gnu.org>2008-10-19 20:55:05 +0200
committerTobias Schlüter <tobi@gcc.gnu.org>2008-10-19 20:55:05 +0200
commit641afcff1d00be2cabd95d589a66a5d87ed1edda (patch)
tree32d9f8100e8dc7107fd1b8dda12551082f3af28b /gcc
parentf13c001e1a46aa1d4b3cd99cede7a3d07b239d9a (diff)
downloadgcc-641afcff1d00be2cabd95d589a66a5d87ed1edda.zip
gcc-641afcff1d00be2cabd95d589a66a5d87ed1edda.tar.gz
gcc-641afcff1d00be2cabd95d589a66a5d87ed1edda.tar.bz2
* doc/install.texi: Document in-tree building of gcc and mpfr.
From-SVN: r141232
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/install.texi18
2 files changed, 19 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5ea5c01..b4e6c43 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-19 Tobias Schlüter <tobi@gcc.gnu.org>
+
+ * doc/install.texi: Document in-tree building of gcc and mpfr.
+
2008-10-19 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.c (may_alias_p): Remove bogus shortcut.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index b42a12b..ed49c62 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -307,7 +307,9 @@ systems' @command{tar} programs will also work, only try GNU
Necessary to build GCC@. If you do not have it installed in your
library search path, you will have to configure with the
@option{--with-gmp} configure option. See also
-@option{--with-gmp-lib} and @option{--with-gmp-include}.
+@option{--with-gmp-lib} and @option{--with-gmp-include}. Alternatively,
+if a GMP source ditribution is found in a subdirectory of you GCC
+sources named @file{gmp}, it will be built together with GCC@.
@item MPFR Library version 2.3.2 (or later)
@@ -319,8 +321,12 @@ fixed when using this version. It is strongly recommended to upgrade
to the recommended version of MPFR.
The @option{--with-mpfr} configure option should be used if your MPFR
-Library is not installed in your default library search path. See
-also @option{--with-mpfr-lib} and @option{--with-mpfr-include}.
+Library is not installed in your default library search path. See also
+@option{--with-mpfr-lib} and @option{--with-mpfr-include}.
+Alternatively, if a MPFR source ditribution is found in a subdirectory
+of you GCC sources named @file{mpfr}, it will be built together with
+GCC@.
+
@item @command{jar}, or InfoZIP (@command{zip} and @command{unzip})
@@ -496,6 +502,12 @@ components of the binutils you intend to build alongside the compiler
(@file{bfd}, @file{binutils}, @file{gas}, @file{gprof}, @file{ld},
@file{opcodes}, @dots{}) to the directory containing the GCC sources.
+Likewise, the GMP and MPFR libraries can be automatically built together
+with GCC. Unpack the GMP and/or MPFR source distributions in the
+directory containing the GCC sources and rename their directories to
+@file{gmp} and @file{mpfr}, respectively (or use symbolic links with the
+same name).
+
@html
<hr />
<p>