[PATCH] support for mingw-w64

Ozkan Sezer sezeroz at gmail.com
Fri Sep 11 10:52:54 CEST 2009


Hello:

The attached patch adds support for win64 builds of gmp using
mingw-w64 (http://mingw-w64.sf.net/).

In short, it makes gmp to use long long for mp_limb_t, adds
-std=c99 to compiler flags and __extension__  to long long
typedefs in order to avoid massive amounts of warnings.  It
also disables use of asm because of abi differences for now.
The patch is against gmp-4.3.1.  Please review and apply if it
is acceptable.

Regards.

--
Ozkan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp-4.3.1-w64-1.patch
Type: application/octet-stream
Size: 14610 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090911/2201408a/attachment.obj>


More information about the gmp-devel mailing list