This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH]: GMP/MPFR in-tree build instructions [Was: Re: [PATCH]: bump minimum MPFR version, (includes some fortranbits)]
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Oct 2008 07:42:08 +0200
- Subject: Re: [PATCH]: GMP/MPFR in-tree build instructions [Was: Re: [PATCH]: bump minimum MPFR version, (includes some fortranbits)]
- Organization: Department of Numerical Simulation, University of Bonn
- References: <A51D50F0-20D9-456D-8AA5-00558A115456@earthlink.net> <48F4D03C.8030600@physik.uni-muenchen.de> <alpine.LSU.1.99.0810191943150.30452@acrux.dbai.tuwien.ac.at> <48FB8316.6080701@physik.uni-muenchen.de>
* Tobias Schlüter wrote on Sun, Oct 19, 2008 at 08:57:26PM CEST:
> 2008-10-19 Tobias Schl?ter <tobi@gcc.gnu.org>
>
> * doc/install.texi: Document in-tree building of gcc and mpfr.
>
> Index: install.texi
> ===================================================================
> --- install.texi (revision 141230)
> +++ install.texi (working copy)
> @@ -307,7 +307,9 @@ systems' @command{tar} programs will als
> 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
s/ditribution/distribution/
s/you/your/
> +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 st
> 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
s/ditribution/distribution/
> +of you GCC sources named @file{mpfr}, it will be built together with
s/you/your/
> +GCC@.
> +
>
> @item @command{jar}, or InfoZIP (@command{zip} and @command{unzip})
>
> @@ -496,6 +502,12 @@ components of the binutils you intend to
> (@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).
Cheers,
Ralf