building DLL with MinGW fails

Kevin Ryde user42 at zip.com.au
Fri Apr 30 22:47:16 CEST 2004


Radu Ursu <rursu at geometryfactory.com> writes:
>
> I am using MinGW to build the DLL version of GMP that I want to use
> with Visual C++ 7.1.
>
> /cyggmp-3.dll-def; else echo EXPORTS > .libs/cyggmp-3.dll-def;

This is a cygwin build, not mingw.  Make sure you've got the right
tools if you want mingw.

(In the next release we'll be automatically adding -mno-cygwin to the
flags for --host=i586-pc-mingw32 or whatever, to hopefully allow a
cygwin gcc to be used, but for now you have to do that yourself.)

PS. Bug reports belong on bug-gmp.


More information about the gmp-discuss mailing list