Dynamically linking against GMP and MPFR
Tim Prince
n8tm@aol.com
Sat May 26 03:07:00 GMT 2007
ghazi@caip.rutgers.edu wrote:
>
> However there are two existing options in the mean time:
>
> One is build/install gmp/mpfr yourself and specify --disable-shared to
> both. Then use --with-mpfr= to specify using them instead of the system's
> shared versions.
>
> The second is to drop gmp/mpfr into the top level directory and let the
> bootstrap process build them. This will automatically do --disable-shared
> and not install these libraries, IIRC.
>
I spent quite a while getting out of the tangle I got into when I built
mpfr and gmp with --disable-shared, leaving older incompatible shared
libraries in the path. No doubt, it can be made to work, but with
plenty of ways to go wrong.
More information about the Gcc
mailing list