impdef, msvc++ 6, and GMP

Kevin Ryde user42 at
Sat Nov 8 10:57:57 CET 2003

"Ike Evans" <ike at> writes:
> 1. Use 'DUMPBIN /EXPORTS libgmp-3.dll' to get a symbol list. Redirect to 
> some convenient text file.

Sounds fair.  Do you just need to prepend

	LIBRARY libgmp-3

> BTW, you could avoid having to build a .lib in the first place by using 
> run-time dynamic linking to the .dll, but that has a different set of 
> hassles.

If it works then that'd be easiest.

We've got dllimport directives in gmp.h, so applications should go
directly to the dll (if I correctly understand how that stuff works).

More information about the gmp-discuss mailing list