On 14/04/15 15:19, Programmingkid wrote:
On Apr 14, 2015, at 1:11 AM, Cormac O'Brien wrote:
I downloaded a cross compiler that was made to make ppc elf binaries. I don't think there is an Apple supplied ppc elf cross compiler.
I'd suggest building your own binutils and gcc, it doesn't take too long and usually works a bit better.
It is such a pain to build gcc. I think it used up an entire day when I built gcc 4.9. That is an experience I hope never to repeat. Plus the cross compiler I downloaded works just fine, so there isn't really a need.
Having been bitten by compiler bugs before, I'd say building your own from source is the safest way and ensures that other people can replicate your exact setup if you start experiencing problems. Otherwise you may find a bug caused by using a particular compiler version, or even a distro's local patches.
ATB,
Mark.