[46483] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

Marcus Calhoun-Lopez mcalhoun at macports.org
Thu Feb 5 22:01:06 PST 2009


Joshua Root <jmr at ...> writes:

> There's the hw.cpu64bit_capable sysctl variable, on Leopard.

Just what I was looking for.
Thank you.

I only have Leopard machines to test on, however.
Does anyone know if the code:
if { [exec "/usr/sbin/sysctl" "-n" "hw.cpu64bit_capable"] != "1" } {
.
.
.
}
works on all platforms where universal binaries might be built?

-Marcus






More information about the macports-dev mailing list