August 25, 2019, 09:13:05 AM

Author Topic: Compile for PPC on OS X  (Read 264 times)

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 247
  • No.
Compile for PPC on OS X
« on: April 29, 2019, 01:32:36 AM »
Hi,

I'm curious about compiling for PowerPC Processors and i see that there is indeed a 'PPC' target, but it's greyed out.  How can i enable this?

I'm on OS X El Capitan, bit i do have access to OS X 10.4.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Compile for PPC on OS X
« Reply #1 on: April 29, 2019, 05:55:57 AM »
Use legacy BlitzMax. It should support PPC.


Bye
Ron

Offline therevills

  • Hero Member
  • *****
  • Posts: 560
Re: Compile for PPC on OS X
« Reply #2 on: April 29, 2019, 05:56:34 AM »
I'm not sure how to enable support... but why would you want to compile for PPC?

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 247
  • No.
Re: Compile for PPC on OS X
« Reply #3 on: April 29, 2019, 08:32:49 AM »
I'm not sure how to enable support... but why would you want to compile for PPC?

Because i would like to port my GUI.  PowerPC macs still have a cult following, especially to select users in the Dreamcast community.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Compile for PPC on OS X
« Reply #4 on: April 29, 2019, 08:50:23 AM »
I am not sure but at least I assume that support for PCC with BlitzMax NG is not given or stuff guaranteed to work.

MaxIDE disables "PPC" when it is not compiled on a PPC platform (there is a "?ppc" conditional in the maxide.bmx doing a menu-disable then). You might try from commandline instead ("./bmk" will offer you the various command line options).


bye
Ron

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 397
Re: Compile for PPC on OS X
« Reply #5 on: April 29, 2019, 05:07:05 PM »
With BRL Blitzmax you had to be on PPC to compile for PPC, I assume NG is the same although Brucey did have a cross-compiler thing but it was only able to compile to Windows, see here.

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 247
  • No.
Re: Compile for PPC on OS X
« Reply #6 on: April 29, 2019, 11:03:20 PM »
With BRL Blitzmax you had to be on PPC to compile for PPC, I assume NG is the same although Brucey did have a cross-compiler thing but it was only able to compile to Windows, see here.

The issue with ppc is I can't find standard BRL blitz with PPC max ide.  So, I cannot even build NG let alone standard, yet.  I do have access to ppc, though.

Offline therevills

  • Hero Member
  • *****
  • Posts: 560
Re: Compile for PPC on OS X
« Reply #7 on: April 30, 2019, 12:02:44 AM »
I would be surprised if the BlitzMax PPC output would run on a Dreamcast, I'm pretty sure Mark used some C code in there to like with the NS libs  :)

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 247
  • No.
Re: Compile for PPC on OS X
« Reply #8 on: April 30, 2019, 12:24:16 AM »
I would be surprised if the BlitzMax PPC output would run on a Dreamcast, I'm pretty sure Mark used some C code in there to like with the NS libs  :)

I'm not compiling for Dreamcast hardware.  I'm compiling my DreamPi GUI for the Dreamcast community.

Anyways, i'm not painfully torrenting xcode 4 with 1 seeder.  Then i need to figure out how to compile maxide/NG..

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 247
  • No.
Re: Compile for PPC on OS X
« Reply #9 on: April 30, 2019, 01:44:46 AM »
Nah, these torrents are dead.   9% > remaining time is 3 years with decimal seeders.  Wonderful.

OS X x64 MaxIDE has an X86 target option and a 'universal build' option.  I'll put BCC_PPC in bin and see.


Edit:  Nope.  x86 also does not compile x86; Still 64.

Offline therevills

  • Hero Member
  • *****
  • Posts: 560
Re: Compile for PPC on OS X
« Reply #10 on: April 30, 2019, 02:17:57 AM »
I'm compiling my DreamPi GUI for the Dreamcast community.

Ahh cool! Good luck with it!  8)