GMP dll for windows

White, Jim (ITD) Jim.White@DEFRA.GSI.GOV.UK
Fri, 18 Jul 2003 11:37:53 +0100


> 17 Jul 2003 16:43:14 -0400 (EDT)
> From: Lesley MacPherson <la2macph@math.uwaterloo.ca>
> 
> Any thoughts on which is better (cygwin or MinGW) and instructions 
> on how to create a dll using MinGW?

deltatrinity has shown that building a Win32 dll is really simple
under MinGW, and I recommend it:

   ./configure --enable-shared --disable-static --build=$CPU-pc-mingw32 

   (where $CPU = i386, pentium4, etc)

Then just execute "make" and you'll get "libgmp-3.dll" created in ./.libs

Remember the "cdecl" calling convention needs to be used when calling the
dll.
   
Cheers

	Jim White
	Systems Programmer
	ITD(A)E, SPS Devt Team
	*	01483 403978
	*	Jim.White@defra.gsi.gov.uk
	H	A410, Epsom Road, Guildford GU12LD