Compiling for MacOS
BlitzMax Forums/BlitzMax Beginners Area/Compiling for MacOS
| ||
Hey guys, I want to compile some stuff for MacOS. Is it that simple just to put ?MacOS DoStuff.. ? in it? I guess I have to replace all graphical stuff by the equivalent OpenGL-commands. But what about sound? Thanks! |
| ||
Unless you are using windows specific API calls, most code can stay as it is. If you are using the standard BlitzMax APIs, then you won't have much to change - if anything. |
| ||
As Brucey said, unless you're doing OS specific things (like stuff you want to have happen only on one OS) all standard bmax commands are OS independent, that's one of the biggest values of bmax IMO, you can just compile for mac or windows or linux and all the work has been done for you. |
| ||
From your post, it sounds like you want to compile for MacOS from Windows? If that's the case - you can't. Otherwise, what he said ^^ |
| ||
@GfK: exactly. I'm using a M$ system and would like to compile my stuff for MacOS. That's not possible? In that case I have to download the Mac-version and find someone with an Apple (let's have a look in the garden). Whatever, thanks for your help! |
| ||
You could try an emulator or a hack(intoch)... |
| ||
Well, you could always sell your PC (and a few vital organs to make up the shortfall), buy a Mac, apply a smattering of witchcraft courtesy of Brucey which will allow you to build Windows binaries from MacOS. Unfortunately that sort of trickery can only be done from MacOS - not Windows. |
| ||
Yeah, buy an apple. What pain ..?! To have a computer that talks to Steve allday long about what I'm doing. ;-) So, no Mac programs. |
| ||
Yeah, buy an apple. What pain ..?! To have a computer that talks to Steve allday long about what I'm doing. ;-) As opposed to one that talks to Bill all day about what you're doing? |