site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Our product does not run on PPC hardware. The installer installation check script checks if the current hardware is Intel in order to continue. Seems like the correct choice at this juncture should be that the system is _not_ using a ppc processor. How do we detect the hardware in order to fail the installer? ...Duane On Aug 5, 2010, at 2:51 PM, Shantonu Sen wrote:
What does UNIX have to do with Mac OS X (No, really?)
uname -m (or uname(3)) will return either "x86_64" or "i386" depending on OS version, kernel type, etc., and may even return "Power Macintosh" if run on an Intel system but under Rosetta.
What are you really trying to do?
Shantonu Sen ssen@apple.com
On Aug 5, 2010, at 2:39 PM, François Revol wrote:
Le 5 août 2010 à 23:28, Duane Murphy a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
We have a script that needs to detect if the OS is running on Intel hardware.
What is the safe way of doing this?
The proper way on UNIX is usually: uname -m
François. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ssen%40apple.com
This email sent to ssen@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/duanemurphy%40mac.com
This email sent to duanemurphy@mac.com
...Duane -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 10.0.2 (Build 13) Charset: iso-8859-1 wsBVAwUBTFs0T0rg9acQ4r2CAQgGWQf/QYfP/DnSFDunWJmnwgZVGzX4ARPvNd2a dalDG1snjVq8hJRd+25X7ER1jzHbtrpCcHpJRfJHDpN8tsG9bVbVBtnRglX6rwOF 0Yrc+BTYSg6tmaz6f10YEwtU9W8WdyjO07MBtEnN6q4bKTVe4pgKFD/ZLWap+/4K SowuMIfN2flqri7CI17/EVvwii+hjPejAuHKs55UpNtxSOYQtMFzxKjqY5mEjel0 QokS5tejRmfNzfDPnUuxNHI3MfKidfg8IuIYIsvw+zEbuKmOzCuB8puS2pN6vbEd 9pvNKZVo7N0TdYsRTMsD95ZfX92pNk40ixbdSSHY0oW5GkY+kLyRGQ== =ueGP -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy