Mission [mostly] accomplished, we got a working gcc11 compiler on a PowerPC:
Anyone who may want to make it build:
1. First build and install this branch of gcc10 using Apple native gcc42: https://github.com/iains/gcc-10-branch/tree/gcc-10-3-ppc
2. Using newly built gcc10, build gcc11: https://github.com/iains/gcc-11-branch
P. S. The process could be replicated on 10.6 PPC too, but needs adjustments. As of now, I tried to rebuild gcc10 as ppc32 on 10.5.8 and used that to install it on 10.6 PPC. It did install and apparently works. I have not yet tried it with gcc11. (Building gcc10 directly on 10.6 PPC failed, but should be possible. And unless 10.6 PPC is modified to re-introduce support for ppc64, m64 will not work.)
Anyone who may want to make it build:
1. First build and install this branch of gcc10 using Apple native gcc42: https://github.com/iains/gcc-10-branch/tree/gcc-10-3-ppc
2. Using newly built gcc10, build gcc11: https://github.com/iains/gcc-11-branch
P. S. The process could be replicated on 10.6 PPC too, but needs adjustments. As of now, I tried to rebuild gcc10 as ppc32 on 10.5.8 and used that to install it on 10.6 PPC. It did install and apparently works. I have not yet tried it with gcc11. (Building gcc10 directly on 10.6 PPC failed, but should be possible. And unless 10.6 PPC is modified to re-introduce support for ppc64, m64 will not work.)
Last edited: