Re: [PATCH] Add support for building for windows on aarch64

2018-04-18 Thread Martin Storsjö
On Wed, 18 Apr 2018, Niels Möller wrote: Martin Storsjö <mar...@martin.st> writes: 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). Looks good to me, just a few questions. Thanks for

Re: [PATCH] Add support for building for windows on aarch64

2018-04-23 Thread Martin Storsjö
On Sun, 22 Apr 2018, Niels Möller wrote: Martin Storsjö <mar...@martin.st> writes: In general, arm vs aarch64 is much more seen as two different architectures, so e.g. a build of gcc (for the OSes that gcc supports) don't have -m32/-m64 for switching, but you need a completely different

Re: [PATCH] Add support for building for windows on aarch64

2018-03-29 Thread Martin Storsjö
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 confi

[PATCH] Add support for building for windows on aarch64

2018-03-23 Thread Martin Storsjö
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