On Apr 13, 2015, at 3:58 PM, BALATON Zoltan wrote:

* At least on OS X 10.9 /bin/sh is the same as /bin/bash and /usr/bin/uname -m returns x86_64 (the same as I get on Linux) so these changes should not be needed. (I did not check on older versions though.) Are you running a 32 bit OS and compile for 64-bit target on that? Or do you have another version of these commands in your path overriding the system provided ones?

I forgot to tell you that on Mac OS 10.6, uname -a only returns i386 on an amd64 (64bit x86) system. This causes OpenBIOS to fail while building. It looks like this issue has been corrected in Mac OS 10.9.