diff options
author | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2006-11-26 22:37:33 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2006-11-26 22:37:33 +0000 |
commit | 8a877c9cfa9b0c4c6644c3b1d07df6df6935c507 (patch) | |
tree | 6ac5b176257328ede93e6369810df416040691ad /gcc | |
parent | ba4ac682800d7bfe7a77936ca3846904de86aea4 (diff) | |
download | gcc-8a877c9cfa9b0c4c6644c3b1d07df6df6935c507.zip gcc-8a877c9cfa9b0c4c6644c3b1d07df6df6935c507.tar.gz gcc-8a877c9cfa9b0c4c6644c3b1d07df6df6935c507.tar.bz2 |
configure.in (--with-mpfr-dir, [...]): Remove flags.
* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.
* configure: Regenerate.
gcc:
* doc/install.texi: Move GMP/MPFR configure options from Fortran
section to general section. Remove documentation for
--with-mpfr-dir and --with-gmp-dir, add documentation for
--with-mpfr-include, --with-mpfr-lib, --with-gmp-include and
--with-gmp-lib.
From-SVN: r119232
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/doc/install.texi | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index b135a52..0fee98a 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -294,7 +294,8 @@ 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} or @option{--with-gmp-dir} configure option. +@option{--with-gmp} configure option. See also +@option{--with-gmp-lib} and @option{--with-gmp-include}. @item MPFR Library version 2.2 (or later) @@ -302,13 +303,14 @@ Necessary to build GCC. It can be downloaded from @uref{http://www.mpfr.org/}. If you're using version 2.2.0, You should also apply revision 16 (or later) of the cumulative patch from @uref{http://www.mpfr.org/mpfr-current/}. The version of MPFR that is -bundled with GMP 4.1.x contains numerous bugs. Although GNU Fortran -will appear to function with the buggy versions of MPFR, there are a -few GNU Fortran bugs that will not be fixed when using this version. -It is strongly recommended to upgrade to at least MPFR version 2.2. +bundled with GMP 4.1.x contains numerous bugs. Although GCC will +appear to function with the buggy versions of MPFR, there are a few +bugs that will not be fixed when using this version. It is strongly +recommended to upgrade to the recommended version of MPFR. -The @option{--with-mpfr} or @option{--with-mpfr-dir} configure option should -be used if your MPFR Library is not installed in your library search path. +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}. @item @command{jar}, or InfoZIP (@command{zip} and @command{unzip}) @@ -1295,6 +1297,26 @@ When neither of these configure options are used, the default will be 128-bit @code{long double} when built against GNU C Library 2.4 and later, 64-bit @code{long double} otherwise. +@item --with-gmp=@var{pathname} +@itemx --with-gmp-include=@var{pathname} +@itemx --with-gmp-lib=@var{pathname} +@itemx --with-mpfr=@var{pathname} +@itemx --with-mpfr-include=@var{pathname} +@itemx --with-mpfr-lib=@var{pathname} +If you do not have GMP (the GNU Multiple Precision library) and the +MPFR Libraries installed in a standard location and you want to build +GCC, you can explicitly specify the directory where they are installed +(@samp{--with-gmp=@var{gmpinstalldir}}, +@samp{--with-mpfr=@var{mpfrinstalldir}}). The +@option{--with-gmp=@var{gmpinstalldir}} option is shorthand for +@option{--with-gmp-lib=@var{gmpinstalldir}/lib} and +@option{--with-gmp-include=@var{gmpinstalldir}/include}. Likewise the +@option{--with-mpfr=@var{mpfrinstalldir}} option is shorthand for +@option{--with-mpfr-lib=@var{mpfrinstalldir}/lib} and +@option{--with-mpfr-include=@var{mpfrinstalldir}/include}. If these +shorthand assumptions are not correct, you can use the explicit +include and lib options directly. + @end table @subheading Cross-Compiler-Specific Options @@ -1376,25 +1398,6 @@ When you use this option, you should ensure that @var{dir} includes tools. @end table -@subheading Fortran-Specific Options - -The following options apply to the build of the Fortran front end. - -@table @code - -@item --with-gmp=@var{pathname} -@itemx --with-mpfr=@var{pathname} -@itemx --with-gmp-dir=@var{pathname} -@itemx --with-mpfr-dir=@var{pathname} -If you don't have GMP (the GNU Multiple Precision library) and the MPFR -Libraries installed in a standard location and you want to build the Fortran -front-end, you can explicitly specify the directory where they are installed -(@samp{--with-gmp=gmpinstalldir}, @samp{--with-mpfr=mpfrinstalldir}) or where -you built them without installing (@samp{--with-gmp-dir=gmpbuilddir}, -@samp{--with-mpfr-dir=gmpbuilddir}). - -@end table - @subheading Java-Specific Options The following option applies to the build of the Java front end. |