• 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: command-line test for 64-bit hardware?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command-line test for 64-bit hardware?


  • Subject: Re: command-line test for 64-bit hardware?
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 5 Sep 2007 12:14:07 -0700

John Reppy wrote:

>Is there an easy way using the command line to distinguish between Intel
>Core and
>Core 2 processors on Tiger? I want to use autoconf to configure my
>makefiles for
>a 64-bit build on Core 2 systems, but the usual config.guess and uname
>commands
>do not make any distinction.

  system_profiler SPHardwareType | grep Processor

There's probably a sysctl value, too, but I don't know how you'd decode the
numbers, off the top of my head.

  sysctl hw | grep cpu

  -- GG


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

This email sent to email@hidden

  • Prev by Date: command-line test for 64-bit hardware?
  • Next by Date: Re: command-line test for 64-bit hardware?
  • Previous by thread: Re: command-line test for 64-bit hardware?
  • Next by thread: Re: command-line test for 64-bit hardware?
  • Index(es):
    • Date
    • Thread