Building a Windows LIB

Bruce M. Axtens bruce.axtens at
Sat Oct 4 20:30:26 CEST 2008

G'day everyone

According to the friendly manual at 

  A MINGW DLL build of GMP can be used with Microsoft C. Libtool doesn't 
install a .lib format import library, but it can be created with MS lib 
as follows,
 and copied to the install directory. Similarly for libmp and libgmpxx.

  cd .libs
  lib /def:libgmp-3.dll.def /out:libgmp-3.lib

Where do I find the .def file? It doesn't appear to be generated (and 
I've tried a variety of parameters on 'configure').

Kind regards,

More information about the gmp-discuss mailing list