Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

barracuda156

macrumors 68000
Original poster
Sep 3, 2021
1,620
1,212
Hello everyone, I have a couple questions. I have built gcc10-bootstrap on my G5 using macports. Can this be used to build ports other than newer versions of gcc? I'm trying to get numpy building again on ppc and one of the issues is the lack of gcc >= 8.4. My second question is, does it take much more than adding three lines to the gcc11+ portfiles to get them to build?

Hi, thanks for the interest.

As long as you builds for ppc (not ppc64 and not universal), getting gcc13 should be smooth: https://github.com/macports/macports-ports/pull/16843

I suggest going that way rather than making a custom hack to one portfile, which may work, but potentially introduces a further mess with Python stuff.

P. S. If the procedure does work and you have an extra minute, please comment in the PR linked, otherwise some folks there are uninterested to test personally but insist on multiple third-party confirmations… What can I say.
 

alphaer

macrumors newbie
Oct 6, 2021
12
1
Hi all,
I read the thread, but still cant get in mind: I have 10.5.8 ppc32 , what steps I should do to compile gcc 11 or 12
Please help
 

barracuda156

macrumors 68000
Original poster
Sep 3, 2021
1,620
1,212
Hi all,
I read the thread, but still cant get in mind: I have 10.5.8 ppc32 , what steps I should do to compile gcc 11 or 12
Please help

Wait a couple of days in fact, I am sorting that out for Macports now.

P. S. If this is urgent, you can try from here: https://github.com/barracuda156/macports-ports/tree/gcc_move
(Do not use gcc-powerpc port yet (!): it builds fine, but will not work with the current Macports base. gcc13 should be usable.)
 
  • Like
Reactions: Aaferti_Kuazar
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.