On Tue, Nov 17, 2009 at 17:16, Taco Hoekwater wrote:
> Hans Hagen wrote:
>> Mojca Miklavec wrote:
>>> On Mon, Nov 16, 2009 at 11:33, Andreas Harder wrote:
>>>> Hi all!
>>>>
>>>> If I update the minimals via first-setup.sh I get the 32bit-binaries
>>>> (luatex) although I'm on Snow Leopard. If I change the binaries
>>>> myself it works fine and the compilation is notable faster!
>>>
>>> We had a lengthy discussion about Snow Leopard. The last message was
>>> Yue Wang's proposal to check for 64-bit compatibility:
>>>
>>>> The hardware test:
>>>> Yue:context yue$  if test `sysctl -n hw.cpu64bit_capable | grep -c 1`
>>>> = 1 ; then  echo yes; else echo no; fi
>>>> yes
>>>>
>>>> The software test:
>>>> Yue:context yue$  if test `uname -r|cut -f1 -d"."`  -ge 10 ; then
>>>> echo yes; else echo no; fi
>>>> yes
>>
>> hm, we need to use the methods built in luatex
>
> Someone should check what is returned in the os.uname() return table.

Mine returns

t={
 ["machine"]="x86_64",
 ["nodename"]="...[my ip]...",
 ["release"]="10.0.0",
 ["sysname"]="Darwin",
 ["version"]="Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:25 PDT
2009; root:xnu-1456.1.25~1/RELEASE_X86_64",
}

but I'm booting in 64-bit mode (I need to reboot first to check for
return value in 32-bit mode).

On one hand uname doesn't return anything usable when booting with
32-bit kernel, but on the other hand one probably already runs the
64-bit luatex at the time when mtxrun needs to determine the
architecture.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to