What is ARCH on Mac

Michael McMahon michael.x.mcmahon at oracle.com
Fri Mar 9 02:52:46 PST 2012

On 09/03/12 10:25, Weijun Wang wrote:
> Hi All
> I'm quite confused on this. I'm able to build openjdk-8 on my Mac and 
> the build is inside build/macosx-amd64 direcory. The "make sanity" 
> command also shows ARCH=amd64. However, if I go into the test 
> directory and run "make" there, it's trying to test against 
> build/macosx-i586. Then I find out it's because on my system "uname 
> -m" returns i386.
> Is there any problem with my system?
> Thanks
> Max
I've never gotten to the bottom of that. On my 10.7.3 box, here is the 
from some relevant commands:

uname -m => x86_64
arch => i386
machine => i486

It's configurable somehow. The man page for arch(1) says system settings 
for this
are in /System/Library/archSettings. But, that file doesn't exist on my 

BTW. The Open jdk ARCH will be changing from amd64 to x86_64.

- Michael

More information about the macosx-port-dev mailing list