[tex-live] small bug re installing x86_64-darwin vs. universal-darwin

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Jan 13 23:37:50 CET 2013


On Sun, Jan 13, 2013 at 4:44 PM, Adam R. Maxwell wrote:
> On Jan 13, 2013, at 00:29 , Mojca Miklavec wrote:
>
>> - 10.6 could be booted in either 32-bit or 64-bit kernel; uname was
>> thus returning different results depending on how one booted the Mac.
>> If one relied on uname only, without testing for
>> "hw.cpu64bit_capable", TeX Live would suddenly stop working when
>> booting into a different kernel. But the code above is immune to that.
>
> FWIW, I think the kernel is irrelevant here, as the 32-bit kernel can
> still run x86_64 code (and vice versa).

[I don't want to go too off-topic, but ...]

Not entirely. Yes, it can run 64-bit code, but uname returns a
different value depending on which kernel is loaded. Consequently the
output of config.guess script is almost useless (and would have to be
overloaded/fixed later in perl code), in particular when it returns
i386-apple-darwin10.* (when it says that one is using 32-bit kernel on
10.6).

Mojca


More information about the tex-live mailing list