site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Florian, you are correct: #define CPU_TYPE_MC680x0 ((cpu_type_t) 6) #define CPU_TYPE_X86 ((cpu_type_t) 7) #define CPU_TYPE_I386 CPU_TYPE_X86 /* compatibility */ #define CPU_TYPE_X86_64 (CPU_TYPE_X86 | CPU_ARCH_ABI64) /* skip CPU_TYPE_MIPS ((cpu_type_t) 8) */ /* skip ((cpu_type_t) 9) */ #define CPU_TYPE_MC98000 ((cpu_type_t) 10) #define CPU_TYPE_HPPA ((cpu_type_t) 11) #define CPU_TYPE_ARM ((cpu_type_t) 12) #define CPU_TYPE_MC88000 ((cpu_type_t) 13) #define CPU_TYPE_SPARC ((cpu_type_t) 14) #define CPU_TYPE_I860 ((cpu_type_t) 15) /* skip CPU_TYPE_ALPHA ((cpu_type_t) 16) */ /* skip ((cpu_type_t) 17) */ #define CPU_TYPE_POWERPC ((cpu_type_t) 18) #define CPU_TYPE_POWERPC64 (CPU_TYPE_POWERPC | CPU_ARCH_ABI64) from <mach/machine.h> Am 23.02.2010 um 22:38 schrieb Florian Gyarfas:
If I remember correctly, if you use sysctl, you can look at the hw.cputype value. I think Intel = 7 and PPC = 18.
Hope that helps. -Florian
-----Original Message----- From: installer-dev-bounces+floriang=microsoft.com@lists.apple.com [mailto:installer-dev-bounces+floriang=microsoft.com@lists.apple.com] On Behalf Of Adam Peck Sent: Tuesday, February 23, 2010 1:23 PM To: Installer-Dev mailing-list Subject: Detecting Intel
Hi All,
I swear this has been covered before but I couldn't find it searching the list. Anyways I would like my installer to be able to detect if it is installing on Intel as this is a requirement. It seems like it should be possible with sysctl or gestalt, but I am not entirely sure which value I should be looking at and what it needs to be set to.
Thanks,
Adam
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/floriang%40microsoft.co...
This email sent to floriang@microsoft.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/below%40mac.com
This email sent to below@mac.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com