Is it possible to build a Mac binary on a non-Mac unix machine?
- by nbolton
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>