Author Topic: PowerPC Mac Support  (Read 7959 times)

Offline 3371-Alpha

  • Sergeant
  • **
  • Posts: 10
    • View Profile
PowerPC Mac Support
« 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.

Offline grrussel

  • Captain
  • ***
  • Posts: 72
    • View Profile
Re: PowerPC Mac Support
« Reply #1 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.

Offline 3371-Alpha

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: PowerPC Mac Support
« Reply #2 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.

Offline 3371-Alpha

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: PowerPC Mac Support
« Reply #3 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.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: PowerPC Mac Support
« Reply #4 on: April 23, 2016, 06:23:43 pm »
SDL 1.2 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.

Offline Drako^BB

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: PowerPC Mac Support
« Reply #5 on: May 01, 2016, 12:01:44 pm »
Or use  MorphOS  version of source . Is PowerPC os so port will be easier :)

Offline 3371-Alpha

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: PowerPC Mac Support
« Reply #6 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.
« Last Edit: September 17, 2016, 10:14:29 am by 3371-Alpha »