mirror of git://gcc.gnu.org/git/gcc.git
configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1. * configure: Regenerate. gcc: * doc/install.texi: Update minimum GMP version. Remove obsolete text in MPFR section. From-SVN: r145774
This commit is contained in:
parent
4f0ae266e0
commit
a3337ea264
|
@ -1,3 +1,8 @@
|
||||||
|
2009-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
|
* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2009-04-01 Steve Ellcey <sje@cup.hp.com>
|
2009-04-01 Steve Ellcey <sje@cup.hp.com>
|
||||||
|
|
||||||
* Makefil.def (languages): New entries.
|
* Makefil.def (languages): New entries.
|
||||||
|
|
|
@ -4622,7 +4622,7 @@ int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
|
|
||||||
#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
|
#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
|
||||||
choke me
|
choke me
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -4680,7 +4680,7 @@ int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
|
|
||||||
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
|
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
|
||||||
choke me
|
choke me
|
||||||
#endif
|
#endif
|
||||||
mpfr_t n;
|
mpfr_t n;
|
||||||
|
@ -4786,7 +4786,7 @@ rm -f conftest.err conftest.$ac_objext \
|
||||||
CFLAGS="$saved_CFLAGS"
|
CFLAGS="$saved_CFLAGS"
|
||||||
|
|
||||||
if test x$have_gmp != xyes; then
|
if test x$have_gmp != xyes; then
|
||||||
{ { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
|
{ { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
|
||||||
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
||||||
Copies of these libraries' source code can be found at their respective
|
Copies of these libraries' source code can be found at their respective
|
||||||
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
||||||
|
@ -4794,7 +4794,7 @@ See also http://gcc.gnu.org/install/prerequisites.html for additional info.
|
||||||
If you obtained GMP and/or MPFR from a vendor distribution package, make
|
If you obtained GMP and/or MPFR from a vendor distribution package, make
|
||||||
sure that you have installed both the libraries and the header files.
|
sure that you have installed both the libraries and the header files.
|
||||||
They may be located in separate packages." >&5
|
They may be located in separate packages." >&5
|
||||||
echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
|
echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
|
||||||
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
||||||
Copies of these libraries' source code can be found at their respective
|
Copies of these libraries' source code can be found at their respective
|
||||||
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
||||||
|
|
|
@ -1264,7 +1264,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
|
||||||
# Check GMP actually works
|
# Check GMP actually works
|
||||||
AC_MSG_CHECKING([for correct version of gmp.h])
|
AC_MSG_CHECKING([for correct version of gmp.h])
|
||||||
AC_TRY_COMPILE([#include "gmp.h"],[
|
AC_TRY_COMPILE([#include "gmp.h"],[
|
||||||
#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
|
#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
|
||||||
choke me
|
choke me
|
||||||
#endif
|
#endif
|
||||||
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); have_gmp=no])
|
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); have_gmp=no])
|
||||||
|
@ -1272,11 +1272,11 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
|
||||||
if test x"$have_gmp" = xyes; then
|
if test x"$have_gmp" = xyes; then
|
||||||
saved_LIBS="$LIBS"
|
saved_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $gmplibs"
|
LIBS="$LIBS $gmplibs"
|
||||||
dnl MPFR 2.3.0 is acceptable, but MPFR 2.3.2 is better.
|
dnl MPFR 2.3.1 is acceptable, but MPFR 2.3.2 is better.
|
||||||
AC_MSG_CHECKING([for correct version of mpfr.h])
|
AC_MSG_CHECKING([for correct version of mpfr.h])
|
||||||
AC_TRY_LINK([#include <gmp.h>
|
AC_TRY_LINK([#include <gmp.h>
|
||||||
#include <mpfr.h>],[
|
#include <mpfr.h>],[
|
||||||
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
|
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
|
||||||
choke me
|
choke me
|
||||||
#endif
|
#endif
|
||||||
mpfr_t n;
|
mpfr_t n;
|
||||||
|
@ -1300,7 +1300,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
|
||||||
CFLAGS="$saved_CFLAGS"
|
CFLAGS="$saved_CFLAGS"
|
||||||
|
|
||||||
if test x$have_gmp != xyes; then
|
if test x$have_gmp != xyes; then
|
||||||
AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
|
AC_MSG_ERROR([Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
|
||||||
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
Try the --with-gmp and/or --with-mpfr options to specify their locations.
|
||||||
Copies of these libraries' source code can be found at their respective
|
Copies of these libraries' source code can be found at their respective
|
||||||
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2009-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
|
* doc/install.texi: Update minimum GMP version. Remove obsolete
|
||||||
|
text in MPFR section.
|
||||||
|
|
||||||
2009-04-08 Jakub Jelinek <jakub@redhat.com>
|
2009-04-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* dwarf2out.c (class_scope_p): New static inline.
|
* dwarf2out.c (class_scope_p): New static inline.
|
||||||
|
|
|
@ -302,7 +302,7 @@ Necessary (only on some platforms) to untar the source code. Many
|
||||||
systems' @command{tar} programs will also work, only try GNU
|
systems' @command{tar} programs will also work, only try GNU
|
||||||
@command{tar} if you have problems.
|
@command{tar} if you have problems.
|
||||||
|
|
||||||
@item GNU Multiple Precision Library (GMP) version 4.1 (or later)
|
@item GNU Multiple Precision Library (GMP) version 4.2 (or later)
|
||||||
|
|
||||||
Necessary to build GCC@. If you do not have it installed in your
|
Necessary to build GCC@. If you do not have it installed in your
|
||||||
library search path, you will have to configure with the
|
library search path, you will have to configure with the
|
||||||
|
@ -314,18 +314,12 @@ distribution is found in a subdirectory of your GCC sources named
|
||||||
@item MPFR Library version 2.3.2 (or later)
|
@item MPFR Library version 2.3.2 (or later)
|
||||||
|
|
||||||
Necessary to build GCC@. It can be downloaded from
|
Necessary to build GCC@. It can be downloaded from
|
||||||
@uref{http://www.mpfr.org/}. The version of MPFR that is bundled with
|
@uref{http://www.mpfr.org/}. The @option{--with-mpfr} configure
|
||||||
GMP 4.1.x contains numerous bugs. Although GCC may appear to function
|
option should be used if your MPFR Library is not installed in your
|
||||||
with the buggy versions of MPFR, there are a few bugs that will not be
|
default library search path. See also @option{--with-mpfr-lib} and
|
||||||
fixed when using this version. It is strongly recommended to upgrade
|
@option{--with-mpfr-include}. Alternatively, if a MPFR source
|
||||||
to the recommended version of MPFR.
|
distribution is found in a subdirectory of your GCC sources named
|
||||||
|
@file{mpfr}, it will be built together with GCC@.
|
||||||
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}.
|
|
||||||
Alternatively, if a MPFR source distribution is found in a subdirectory
|
|
||||||
of your GCC sources named @file{mpfr}, it will be built together with
|
|
||||||
GCC@.
|
|
||||||
|
|
||||||
@item Parma Polyhedra Library (PPL) version 0.10
|
@item Parma Polyhedra Library (PPL) version 0.10
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue