• 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: Installer Check to see if it's an Intel Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer Check to see if it's an Intel Mac


  • Subject: Re: Installer Check to see if it's an Intel Mac
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 29 May 2006 14:41:53 -0400

On May 29, 2006, at 2:28 PM, Christian Weykopf wrote:

Am 29.05.2006 um 19:29 schrieb Matthew Brewer:

Okay, I’ve read up on InstallationCheck and the strings and all that and I’m
about at the same point I was before.


The suggestion to use “arch” is fine, but I’m not well acquainted with
scripting of any sort. So, I can call this command, and it returns a value.
And I would assume I would want to check that it is “i386” and break if it
isn’t (via the InstallationCheck returning a determined value of 16-31, from
what I understand).


So, anyone got any suggestions?  I’m still just a tad confused here.

Thanks again for all the suggestion!

Matt

Hi Matthew,

try sysctl(3) with HW_MACHINE.

Chris

I don't understand your suggestion. How does a C function help write an InstallationCheck script that examines the output from /usr/bin/arch?


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Installer Check to see if it's an Intel Mac
      • From: Christian Weykopf <email@hidden>
References: 
 >RE: Installer Check to see if it's an Intel Mac (From: Matthew Brewer <email@hidden>)
 >Re: Installer Check to see if it's an Intel Mac (From: Christian Weykopf <email@hidden>)

  • Prev by Date: Re: Installer Check to see if it's an Intel Mac
  • Next by Date: make sure one timer fire before another
  • Previous by thread: Re: Installer Check to see if it's an Intel Mac
  • Next by thread: Re: Installer Check to see if it's an Intel Mac
  • Index(es):
    • Date
    • Thread