Compiling Mac-version on PC
BlitzMax Forums/BlitzMax Programming/Compiling Mac-version on PC
| ||
Hi. I have a question about compiling and building my game for Mac. Blitzmax is multiplatform, so i thought that i can build a Mac-version of my game on PC (because i do not have a Mac). Can i? And what should i do in this case? Thx. |
| ||
No, sorry. You can only compile the Mac version on a Mac, the Windows version on Windows, and the Linux version on Linux. |
| ||
Thanks, jhans0n. But what should i do now? Actually I can use Mac at my publisher's office, but not for long. As i know, there must be X-Code installed? Maybe something else? (I am completely noob in Mac)... |
| ||
you *could* get a mac emulator and purchase OSX to use on it, it won't be perfect, but you should be able to compile. |
| ||
BlitzMax is mult-platform, but it's not cross-platform. If you want to create Universal Binaries, you'd actually need -two- Macs: An older PowerPC model and an Intel Mac, because you need to compile for each architecture respectively. You only need the Apple developers tools (XCode & Co.) and BlitzMax on the machine, that's it. XCode is on the OS X installation DVD, so you don't have to download it (unless you want or need to use the most recent version). If you want to use the SVN versions of BlitzMax, look for "SCPlugin" for the Mac; it's for the Mac what TortoiseSVN is for Windows. As the Klingons say: Qapla'! |
| ||
There are no good mac emulators. PearPC is dreadfully slow, and only supports the PowerPC architecture. None of the virtualization software like VMWare will run the Intel version of OS X. There are people who build "hackintoshes", but running OS X on non-Apple hardware is a violation of the EULA, and your machine will probably break whenever there's an update. |
| ||
I'm not saying that it's a good choice, but just so you know: it _is_ possible to compile a PPC binary with PearPC and then build an Intel binary on OS X running VMWare. (If you google around you'll find hints for how to run OS X on VMWare.) Then you can create a universal binary on the VMWare machine. It's a slow and inefficient process, though, and not legal. And transferring files between the different virtual machines isn't always trivial. |
| ||
It'll probably addle your brain less if you just buy a cheap Mac off ebay. |
| ||
Thanks to all for help)) |