[PATCH] Add support for building for windows on aarch64

Martin Storsjö martin at martin.st
Wed Mar 28 20:10:06 UTC 2018


On Wed, 21 Mar 2018, Martin Storsjö wrote:

> Hi,
>
> The attached patch fixes building GMP for windows on aarch64 using the 
> llvm-mingw toolchain (clang with a mingw sdk, built on top of llvm tools).
>
> The main issue is, just like on x86_64, "long" still is 32 bit, while the 
> current configure check on arm/aarch64 checks that sizeof(long) == 8 in order 
> to use a 64 bit ABI. (On x86_64, no such check is executed.) The patch 
> changes the check to test sizeof(void*) instead.

Ping - any interest in looking at this patch? It's a rather simple 
configure fix.

// Martin


More information about the gmp-devel mailing list