MinGW, gmp, mpfr
Wolfgang0815 at gmx.de
Wolfgang0815 at gmx.de
Tue Sep 26 00:09:15 CEST 2006
Hi again,
I really appreciate your hints.
Now I got one step further and tried to compile gmp and mpfr separately within MinGW. Compiling gmp worked find, "make check" gave no errors. Configuring mpfr resulted in strange errors:
"configure: error: gmp.h is a DLL: use --disable-static --enable-shared"
Doing so gives
"configure: error: gmp.h isn't a DLL: use --enable-static --disable-shared"
? ?
I observed that gmp.h has been placed in "C:\msys\1.0\local\include", and libgmp.(l)a have been placed in "C:\msys\1.0\local\lib".
I also tried to compile the gmp example gmp-chudnovsky.c. gcc didn't find gmp.h, and also didn't find it when I replaced [#include "gmp.h"] with [#include <gmp.h>]. After copying gmp.h and libgmp.(l)a in the same directory where gmp-chudnovsky.c is placed, it worked.
Is this a bug in the "make install" routine? I highly assume I simply did something wront - but what.
I really appreciate your help! :-)
Sorry for my crappy english :-(
Wolfgang
-------- Original-Nachricht --------
Datum: Wed, 20 Sep 2006 02:00:27 +0100 (BST)
Von: Jim White <mathimagics at yahoo.co.uk>
An: gmp-discuss at swox.com
Betreff: Re: MinGW, gmp, mpfr
> > Message: 2
> > Date: Tue, 19 Sep 2006 13:27:51 +1000
> > From: "Sisyphus" <sisyphus1 at optusnet.com.au>
>
> > To build mpfr, I have always first built GMP, then
> > downloaded the mpfr source from
> > http://www.mpfr.org/mpfr-current/ (check for bugs
> > and patches on that page, too), and then build
> > according to the documentation at
> > http://www.mpfr.org/mpfr-current/mpfr.html.
> >
> > It has always been straightforward, though I usually
> > build only static libs ... and no cpp.
>
> Rob's advice is sound, I just wanted to add that MPFR
> is also quite easily built as a DLL. Let me know if
> you want details.
>
> Jim White
> ANU, Canberra
>
>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at swox.com
> https://gmplib.org/mailman/listinfo/gmp-discuss
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the gmp-discuss
mailing list