[PATCH] support for mingw-w64

Torbjorn Granlund tg at gmplib.org
Sat Sep 12 20:41:23 CEST 2009

Ozkan Sezer <sezeroz at gmail.com> writes:

  Well, here the simplest patch I can think of
  (attached gmp_intptr_t.diff, dif of configure omitted.)
  It adds a few type size checks to configure.in and
  typedefs gmp_intptr_t in gmp-impl.h so that all
  tests can pick it up without issue.  Is this acceptable?
I attached a modified and simplified patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 5679 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-devel/attachments/20090912/59b0a795/attachment.obj>
-------------- next part --------------

Note that not only configure is generated, config.in is too.

The configure.in patch needs work.  The host os specific code is not in
the standard place.  Since configure.in is already awfully large and
hard to read, we need to make changes carefully, following its current

Please move the code to where x86_64 OS's are recognised, then test the
entire thing.


More information about the gmp-devel mailing list