What binary architectures should be cross-compiled when building Mac OS X packages?

Posted by Alex Leach on Stack Overflow See other posts from Stack Overflow or by Alex Leach
Published on 2012-09-17T12:31:51Z Indexed on 2012/09/17 15:38 UTC
Read the original article Hit count: 175

Filed under:
|
|

Currently, Apple's native binaries and libraries are distributed as fat files, with support for both i386 and x86_64 architectures. The SDK (Xcode 4.4 w/ command line tools) doesn't support cross-compiling powerpc binaries any more, so they can be safely ignored I think, but there doesn't seem to be any specific guidelines or recommendations about which Intel architectures to support.

So, when compiling code for distribution on OS X, do people still cross-compile for the i386 architecture? Or are x86_64 binaries the only architecture worth bothering with nowadays?

© Stack Overflow or respective owner

Related posts about osx

Related posts about x86