Sisyphus MPFR build

White, Jim (ITD) Jim.White at DEFRA.GSI.GOV.UK
Mon Dec 15 14:03:35 CET 2003

Rob:  Those errors you are getting remind of when I first tried to build
mpfr. There is some naming/scoping problem linking that way that I couldn't

The problem doesn't occur with dynamic linking, so now, when I rebuild GMP,
I use the MPFR object files produced to create a shared library:

   ./configure --enable-shared --disable-static --build=$CPU-pc-mingw32

   # after gmp build
   cd mpfr
   gcc -shared -o libmpfr-$CPU.dll *.o ../.libs/libgmp-$CPU.dll

Maybe this helps, maybe not!


Department for Environment, Food and Rural Affairs (Defra)

This email and any attachments is intended for the named recipient only. Its
unauthorised use, disclosure, storage or copying is not permitted. If you have
received it in error, please destroy all copies and inform the sender. Whilst this
email and associated attachments will have been checked for known viruses
whilst within Defra systems we can accept no responsibility once it has left our
systems. Communications on Defra's computer systems may be monitored
and/or recorded to secure the effective operation of the system and for other
lawful purposes.

More information about the gmp-discuss mailing list