[openssl-dev] MacOS defaults?

Ben Laurie ben at links.org
Mon Mar 7 10:01:50 UTC 2016

On 7 March 2016 at 09:59, Andy Polyakov <appro at openssl.org> wrote:
>>>>> Hmm. So why do I see this on my macbook?
>>>>> $ arch
>>>>> i386
>>>> Try "uname -m"
>>> This is not reliable. Because it must have changed recently, it used to
>>> be i386 even on 64-bit systems. sysctl -n hw.optional.x86_64 is the way
>>> to go, it's right there in ./config...
>> Sure, and that is used to decide whether to offer the 64 bit version.
>> But its not helping me on what should be default.
> I thought suggestion was to default to 64 bit whenever it is an option.
> And uname -m *was* returning i386 even on system capable of executing
> 64-bit code. So that sysctl is something that works in *either* situation.

The question is: which is better? I've been told there's no advantage
to 64 bit on MacOS unless you need the extra address space - if that's
so, then we should default to 32 bit, I think.

More information about the openssl-dev mailing list