Trouble compiling with gcc 4.8 on 10.5 PowerPC
Andreas Falkenhahn
andreas at falkenhahn.com
Sun Mar 18 13:32:01 UTC 2018
Hi Kenneth,
On 17.03.2018 at 23:30 Kenneth F. Cunningham wrote:
> As a first step, if you don't specifically require gcc-4.8, try
> instead with gcc-6 (macports-gcc-6) which works quite a bit better in most cases.
Thanks, this indeed solved all my problems! The malloc errors have disappeared
and the linker warning as well. Thanks a lot for the hint!
There's just one little problem remaining: I cannot use gcc-ar-mp-6 because
it reports the following error: "Cannot find plugin liblto_plugin.so".
So I just use the "ar" that came with Xcode and it worked fine but maybe
gcc-ar-mp-6 should be fixed.
Another question: How can I make my program compatible with 10.4? I currently
compile on my G5 system which has 10.5 installed. When I try to run the
program on a G4 10.4 system I get a symbol import error from /usr/lib/libstdc++.6.dylib.
Do I have to install macports-gcc-6 on the 10.4 system in order to be able
to run my program on 10.4 or is there anything else that needs to be taken care
of?
> After that, we slog through. It's a great system, PPC, but there
> are not so many of us using it any more. We need to stick together!
Definitely. PPC rules. I'm also running MorphOS on my PowerPC Macs. This
is another PPC operating system inspired by AmigaOS.
--
Best regards,
Andreas Falkenhahn mailto:andreas at falkenhahn.com
More information about the macports-users
mailing list