Sign in to follow this  
BradDaBug

Cross compiling for Mac

Recommended Posts

BradDaBug    913
I want to set up a cross-compiler on my Linux box to compile Mac binaries. What would be nice is if Apple provided some kind of official cross-compiler that could run on x86 *nix and build universal binaries. I don't suppose there's anything like that, is there?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
I asked this question here myself a while back. Didn't really get any conclusive answers...

Share this post


Link to post
Share on other sites
swiftcoder    18432
Go talk to the x86 folks at OpenDarwin, whih is the open-source core for Mac OS X, maybe they have some pointers for you [grin]

It is a problem though, because Apple has modified their edition of GCC fairly heavily (like adding Objective-C++ support), and i don't think the standard branch of GCC can produce Apple binaries easily. Not much reason why Apple's branch couldn't be compiled for *nix though (and Gnu is probably porting some of the enhancements back to trunk GCC). Again, check with OpenDarwin.

Share this post


Link to post
Share on other sites
Ravuya    135
It depends on what you're cross-compiling. If you want to take advantage of the Cocoa/Carbon APIs you'll probably have to do a lot more work.

Share this post


Link to post
Share on other sites
Sign in to follow this