OpenXcom Forum

Contributions => Builds & Ports => Topic started by: 3371-Alpha on April 06, 2016, 05:44:25 am

Title: PowerPC Mac Support
Post by: 3371-Alpha on April 06, 2016, 05:44:25 am
Anyone know if it would be possible to compile this project on a PPC Mac? I could easily play both x-com ufo & tftd via the DOSBox based Boxer app, but it's not very fast nor can I find mods that support dos these days. If you have any advice for compiling, please tell me.
Title: Re: PowerPC Mac Support
Post by: grrussel on April 06, 2016, 12:30:01 pm
If homebrew supports OSX on PPC still, the homebrew build instructions for a Unix style OpenXCOM should work

I doubt any XCode project support will now exist for a sufficiently old XCode on PPC OSX.
Title: Re: PowerPC Mac Support
Post by: 3371-Alpha on April 06, 2016, 07:24:20 pm
Homebrew actually never supported anything below 10.6, but there is a fork called "Tigerbrew" that 10.4 onwards, intel & PPC. I usually use Macports, but the time I do use Tigerbrew it does seem to work well. It's a shame I cant use my favorite IDE, XCode, but apple seems to use a different format for their new xcode project files. I'd be lucky to get a XCode 4 file to work, let alone something newer.
Title: Re: PowerPC Mac Support
Post by: 3371-Alpha on April 19, 2016, 01:30:32 am
Perhaps it's an issue with older versions of OpenGL. OpenXcom officially supports Lion & later, & Lion uses OpenGL 4.0 if I'm not mistaken. Snow Leopard has OpenGL 3.0 & Leopard has 2.0, so such issues are understandable.
Title: Re: PowerPC Mac Support
Post by: SupSuper on April 23, 2016, 06:23:43 pm
SDL 1.2 (https://www.libsdl.org/download-1.2.php) still supports PPC Mac so it shouldn't be impossible. If you compile OpenXcom with __NO_OPENGL, it will fallback to SDL's software rendering.
Title: Re: PowerPC Mac Support
Post by: Drako^BB on May 01, 2016, 12:01:44 pm
Or use  MorphOS  version of source . Is PowerPC os so port will be easier :)
Title: Re: PowerPC Mac Support
Post by: 3371-Alpha on May 16, 2016, 10:45:18 pm
I have one other question before I attempt to build. Does OpenXcom absolutely require clang to build? Because I don't think that's available on PowerPC, at least not without Linux.
[Edit:] As it turns out, clang is available on ppc, however it's very limited as it was never optimized for PPC. Anyone know how I would convert the build instruction to work with GCC? Also sorry for taking a while to respond. Life sometimes gets busy, and you think "oh I'll checkup next week". Then "next week" turns into next month.