[PATCH] Add support for building for windows on aarch64
martin at martin.st
Wed Mar 21 21:54:54 UTC 2018
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2720 bytes
More information about the gmp-devel