wrong .def file name building with mingw

Laurent Rineau laurent.rineau at normalesup.org
Tue Nov 27 13:11:51 CET 2012

Le mardi 27 novembre 2012 12:59:13 Laurent Rineau a écrit :
> Le mardi 27 novembre 2012 12:33:18 Torbjorn Granlund a écrit :
> > I tried to read your patch now, but I am afraid I cannot follow it.
> > 
> > I need explanatiion if each change, e.g., change logs.  Specific
> > questions:
> > 
> > What is this "resource file" thing?
> > What is the RC/windres stuff?
> > 
> > I believe people have reported that GMP worked under Mingw for both
> > x86-32 and x86-64.  Now, major changes seem to be needed.  Could you
> > explain this?  Has Mingw changed?
> My fault. My patch fixes two things at the same time.
> 1/ The names of .def files was not correct, because an old soversion what
> hardcoded in the configure.in file. That is a bug. I doubt anybody can
> report that the mingw compilation works with --shared since the soversion
> of GMP has changed.

That is wrong, actually. The scenario is more complex: the default way to 
build gmp with mingw32, with --enable-shared, does not use .def files, and 
thus the build succeeds. I will explain the issue more in details after the 

More information about the gmp-bugs mailing list