Finding the machine CPU arch

Vincent Habchi vince at macports.org
Wed Mar 6 08:19:45 PST 2013


Le 6 mars 2013 à 17:07, Gustaf Neumann <neumann at wu.ac.at> a écrit :

> one can use $::tcl_platform(machine)

Viel Dank dafür. It is strictly equivalent to the sysctl (it returns ‘Power Macintosh’ on G4/G5, i386 and x86_64). But it does not need to be catched, so that’s rather fine!

Thanks again,
Tchüß
Vincent



More information about the macports-dev mailing list