Re: command-line test for 64-bit hardware?
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