Cross compile GMP for Apple Silicon

Pierre Chatelier pierre at chachatelier.fr
Sun Nov 22 15:38:07 UTC 2020


> 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?

Do you mean that -fno-stack-check will hurt performance instead of improving them ?
Which optimizations are you talking about ?


Pierre Chatelier


More information about the gmp-discuss mailing list