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
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to