[107865] trunk/base/src

Lawrence Velázquez larryv at macports.org
Sat Jul 13 07:38:28 PDT 2013

On Jul 13, 2013, at 9:59 AM, Joshua Root <jmr at macports.org> wrote:

> On 2013-7-13 06:28 , Ryan Schmidt wrote:
>> Or are you asking how to determine programmatically what archs would be supported? Assuming we don't need to run any built program at build time, the answer is probably all four architectures on Tiger and Leopard, and the two Intel architectures on Snow Leopard and later.
>> if [ "$(uname -r | cut -d . -f 1)" -gt 9 ]; then
>>    echo i386 x86_64
>> else
>>    echo i386 ppc ppc64 x86_64
>> fi
> Are you sure Tiger can run x86_64 binaries? I remember it being ppc,
> i386 and sort-of ppc64 (if the only OS lib you wanted was libSystem).

It can, with some caveats.




More information about the macports-dev mailing list