Hi,
You may be better off switching to my fork on PowerPC. (I beg an
apology for “self-advertising”, but this is an honest assessment.)
That is at least fully tested on 10.6, and tested on 10.5 for
essential ports (toolchain should work fine). Though I cannot promise
at the moment (due to being away from the hardware) that archaic gcc
will install, since I explicitly dropped support for anything earlier
than gcc13 (aside from gcc10-bootstrap, of course).
Advertising is fine, I also have my own 10.5 Leopard overlay but I keep
it very small.
I think it is of MacPorts interest real testing of the compiler chain
and for others to be understood and fixed.
Do you really need gcc-4.8 and gcc7 after all? Generally everything
must work with gcc14 (or gcc15, I guess). Of existing ports,
tenfourfox requires gcc-4.8, but tenfourfox itself is of little
utility now (and available pre-built if you need it for something
specific). There are white-star / powerfox which build with modern
gcc. Aside of that, I cannot recall what may need specifically an old
non-Apple gcc version. Even if such ports exist, it may be worthwhile
to fix them to build with modern gcc rather than carrying on
dependency on the whole zoo of gcc versions.
If you already have gcc15 via MacPorts, you may just try using that,
avoiding old versions. And if something fails to build with it, bug
reports will be useful.
Well, gcc6/gcc7 are very reliable compilers. More modern ones tend to
have issues with older Cocoa headers as well as gcc14 and gcc15 are
porblematic with modern code and one needs to tweak warnings.
I use gcc 4.8 as a first test when something doesn't compile with
apple's gcc.
I haven't completely given up the idea of ArcticFox on 10.5 PPC and what
version of gcc it could need, gcc 14 is known problematic on FreeBSD
(but not Linux, strangely). On Intel I use clang 6 though. But right now
the project is stalled anyway due to lack of help.
On x86 ports install quickly because MacPorts has buildbots for those
systems. You will have the same on 10.6.8 ppc with my PPCPorts (and to
some extent on 10.5.8 if building for ppc64).
10.5 has no build bots, on my 32bit and 64bit x86 compilers built.
The issue is not gcc itself - which clearly needs to be built - but the
dependency chain of libgcc's to newer versions.
On Inten I have like 4 or 5 gcc versions, latest gcc and then the
intermedaite are all or mostly links.
Why is this not working on PPC?
Riccardo