wrong .def file name building with mingw

Laurent Rineau laurent.rineau__gmp at normalesup.org
Tue Nov 27 12:59:13 CET 2012

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 

2/ I have added a resource file so that the VERSIONINFO fields of the DLLs are 
filled. That is not mandatory.

I will come back latter to you with a set of atomic self-consistent patches, 
and change logs. Probably only after the weekend.

More information about the gmp-bugs mailing list