[PATCH]: bump minimum MPFR version, (includes some fortran bits)

David Edelsohn dje.gcc@gmail.com
Mon Oct 27 00:30:00 GMT 2008


On Sun, Oct 26, 2008 at 3:25 PM, Kaveh R. Ghazi <ghazi@caip.rutgers.edu> wrote:

> I think the steps you (or your assistant) went through was unfortunately
> unnecessarily complicated.  The solution I use is to build MPFR and/or GMP
> using --disable-shared.  Then you can install them anywhere you like, pass
> the location with --with-{mpfr,gmp} to GCC and since only the static library
> is available everything links and runs fine.
>
> Do you think putting this recommendation in the docs somewhere would have
> been useful to you in this situation?  If so, I would be happy to prepare a
> patch.

Graphite's CLooG and PPL libraries use libgmpxx.  Because cc1 is not linked
by g++, this effectively requires that libgmpxx must be a shared
library.  libgmp
does not have to be a shared library, but it makes things simpler.  MPFR is
a static library in my current configuration.

I configure using --with-mpfr=

David



More information about the Fortran mailing list