RE: Detecting Intel
RE: Detecting Intel
- Subject: RE: Detecting Intel
- From: Florian Gyarfas <email@hidden>
- Date: Tue, 23 Feb 2010 21:40:37 +0000
- Thread-topic: Detecting Intel
Also, if you have Developer Tools installed, you can look at sysctl.h and mach/machine.h where those values are defined.
-----Original Message-----
From: installer-dev-bounces+floriang=email@hidden [mailto:installer-dev-bounces+floriang=email@hidden] On Behalf Of Florian Gyarfas
Sent: Tuesday, February 23, 2010 1:38 PM
To: Adam Peck; Installer-Dev mailing-list
Subject: RE: Detecting Intel
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=email@hidden [mailto:installer-dev-bounces+floriang=email@hidden] 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden