ubuntu: uname -a:
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
mac: uname -a:
Darwin limboy.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
so they are both x86_64, and i write a simple 'hello.go' in ubuntu, and cp the bin file to mac, but when executing, output the error:
./hello: cannot execute binary file