On Sun, Oct 26, 2008 at 3:25 PM, Kaveh R. Ghazi <[EMAIL PROTECTED]> 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

Reply via email to