Page 1 of 1
Cross-compile a MacOS application under Linux?
Posted: Sun May 21, 2006 6:02 pm
By curiosity, it is possible to cross-compile a wxMSW application under linux, but what for the cross-compilation of wxMac software under linux?
Posted: Tue May 23, 2006 6:48 am
That should not be much of a problem. I did the reverse (developed on Linux, ported to Mac). The only Mac-specific problem I ran into was when accessing binary files: the byte order on the Mac is the other way around. There are some macros
for that in wx, but I had to revert to my own conversion code.
Posted: Tue May 23, 2006 10:15 am
I think SuperPat meant compiling executables for Mac on Linux -- that's what cross compiling is all about. wx' whole purpose is to be source compatible on different platforms, that's the easy part.
Back to the question: I don't know of a way to do this. It would be great if it was possible, but I doubt it is, sorry.
Posted: Wed May 24, 2006 10:33 am
Sorry, misunderstood the question. If, as you say, you can compile for the Mac on a Windows box, then it should be possible to do the same on a Linux box, simply by using Wine
Posted: Wed May 24, 2006 11:25 am
If, as you say, you can compile for the Mac on a Windows box, then it should be possible to do the same on a Linux box, simply by using Wine.
I don't know this.
How can I compile for the Mac on a Windows box?
Posted: Wed May 24, 2006 1:38 pm
You can't, just like you can't compile Mac binaries on Linux.
The only cross compiling that works and I know of is compiling for Windows on Linux.