Hi, for the record, the (above mentioned) Wikipedia article: http://en.wikipedia.org/wiki/Darwin_%28operating_system%29 seems to be quite close to the truth; on MacPPC OS X 10.4.11 "uname -r" gives me: 8.11.0 on MacIntel OS X 10.4.11 "uname -r" gives me: 8.11.1
and finally on MacPPC OS X 10.2.1 "uname -r " gives me: 6.1 So the rationale should be get the result from "uname -r" (or the like), either two or three digits separated by points, extract the first digit, and test whether it is "greater or equal to 8" (which corresponds to "Mac OS X 10.4 at least") In practice, however, it would be far more important to test, whether one tries to run a Sage binary, built on a MacPPC with a G5 CPU, on a MacPPC with only a G4 (or G3) CPU. This fails, and I myself know where to look in the pages long output to recognize this, but never had the time to do something about it. (BTW, this is a ticket on the sage- wishlist: trac #6414, "OS X binaries should issue a better warning on incompatible CPUs".) Cheers, Georg --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---