• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect Intel System?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Detect Intel System?
      • From: Duane Murphy <email@hidden>
    • Re: Detect Intel System?
      • From: François Revol <email@hidden>
References: 
 >Detect Intel System? (From: Duane Murphy <email@hidden>)
 >Re: Detect Intel System? (From: François Revol <email@hidden>)

  • Prev by Date: Re: Detect Intel System?
  • Next by Date: Re: Detect Intel System?
  • Previous by thread: Re: Detect Intel System?
  • Next by thread: Re: Detect Intel System?
  • Index(es):
    • Date
    • Thread