[PATCH] Add support for building for windows on aarch64
Martin Storsjö
martin at martin.st
Wed Mar 21 21:54:54 UTC 2018
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.
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win-aarch64.patch
Type: text/x-diff
Size: 2720 bytes
Desc:
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20180321/1028d146/attachment-0001.bin>
More information about the gmp-devel
mailing list