Cross compile GMP for Apple Silicon

Marc Glisse marc.glisse at inria.fr
Sun Nov 22 17:24:17 UTC 2020


On Sun, 22 Nov 2020, Pierre Chatelier wrote:

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

Things like -O2 for instance.

-- 
Marc Glisse


More information about the gmp-discuss mailing list