Is it possible to build a Mac binary on a non-Mac unix machine?
        Posted  
        
            by nbolton
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by nbolton
        
        
        
        Published on 2010-06-17T19:48:13Z
        Indexed on 
            2010/06/17
            19:53 UTC
        
        
        Read the original article
        Hit count: 288
        
I would like to set up a Mac buildbot slave, but unfortunately it's not possible to install Mac OS X 10.5 on my XenServer hypervisor. So, I've had an idea, but not quite sure whether or not it'll work. The application is C++, and on Mac it's compile using GNU Make. I have a Mac desktop PC, and I was hoping I could copy the .h and .lib files on to a Linux box, and try to build against the Mac headers:
#include <mach-o/dyld.h>
#include <AvailabilityMacros.h>
        © Stack Overflow or respective owner