Sign in to follow this  

Cross compiling for Mac

This topic is 4256 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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
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
Sign in to follow this