Re: Detect Intel System?
Re: Detect Intel System?
- Subject: Re: Detect Intel System?
- From: Shantonu Sen <email@hidden>
- Date: Thu, 5 Aug 2010 14:51:08 -0700
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
email@hidden
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 (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.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden