Cross compile GMP for Apple Silicon

Marc Glisse marc.glisse at inria.fr
Sun Nov 22 15:32:03 UTC 2020


On Sun, 22 Nov 2020, Pierre Chatelier wrote:

> I succeeded in cross-compiling GMP from amd64 on a x86_64 build system.

Good :-)

> export CFLAGS=" -fno-stack-check -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk --target=arm64-apple-darwin"

Looks like you are disabling optimizations, no?

-- 
Marc Glisse


More information about the gmp-discuss mailing list