[openssl-dev] MacOS defaults?

Andy Polyakov appro at openssl.org
Mon Mar 7 09:59:20 UTC 2016


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



More information about the openssl-dev mailing list