site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:mime-version:content-type:from:in-reply-to:date:cc:content-transfer-encoding:message-id:references:to; s=smtpout; bh=wJMRE78FlOi/KHW4rKNoUGv/1lM=; b=YhtHsI/lox/sEwZP9hdh+zLjTE8dgcyAXtWXw5KfHiN7pN3Ztqvl5UP8sk+HWOQF2Jp+FZEA3OT2zJJLjRVb0qiQXqYPKvrdHpdxVbpjX43ABhYkTXOuWTnjjAa4eu9BRPKbyKVb/TuzaBFZdg2EIVP96xn4d695zQfosAKAz60= On 06/08/2010, at 14:40, Shantonu Sen wrote:
Our product does not run on PPC hardware. The installer installation check script checks if the current hardware is Intel in order to continue.
If Apple switches to another platform, but provides a Rosetta that makes it possible to run Intel apps on the new platform, would this new platform be acceptable? If it is, you could simply test if the host is able to execute x86 binaries instead of looking at sysctl. In the perl script, embed the hexdump of the simplest C app and unpack("H*", $_) it into a file, set the execute bit, and then check the result value of system(("/path/to/executable")). Compiling "int main() { return 0; }" creates a ~8KB binary. ---- - Peter Speck _______________________________________________ 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)
-
Peter Speck