wrong .def file name building with mingw
laurent.rineau__gmp at normalesup.org
Wed Nov 14 17:59:14 CET 2012
Le mercredi 14 novembre 2012 16:11:55 Torbjorn Granlund a écrit :
> Laurent Rineau <laurent.rineau__gmp at normalesup.org> writes:
> I do not think that gcc on Cygwin needs .def files. The bug is about the
> support of mingw32 or mingw64, the pure Windows port of gcc (without the
> cygwin stack).
> I see.
> With mingw32, the produce binaries are named libgmp-10.dll and
> libgmp-10.lib. And the created .def is libgmp-3.dll.def, whereas it should
> be libgmp-10.def.
> A file .libs/libgmp-3.dll.def is created, also on cygwin.
> I proposed a patch for that issue in
> My patch fixes configure.in and Makefile.am (and contains a big patch for
> the generated files 'configure' and 'Makefile.in').
> I'll take a renoewd look at that. Does it apply to the current
> configure.in and Makefile.am?
Here is the patch against the hg tip (attached). I cannot really test it. I do
not find the instruction to bootstrap from Mercurial, and I do not know
autoconf/automake enough to find out which version I should use. It was easier
from the tarball.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5091 bytes
Desc: not available
More information about the gmp-bugs