narke / gcc-cross-compiler

A script to cross-compile GCC toolchain for various target architectures.
BSD 3-Clause "New" or "Revised" License
51 stars 11 forks source link

Is it possible to add PowerPC Macs? #9

Closed barracuda156 closed 1 year ago

barracuda156 commented 2 years ago

Is it possible to add support for the following targets?

powerpc-apple-darwin powerpc64-apple-darwin

narke commented 2 years ago

Hi, I originally made it for Linux, so if you want to use it for macOS you should replace "ppc-linux-gnu" by "powerpc-apple-darwin" in this line https://github.com/narke/gcc-cross-compiler/blob/master/toolchain.py#L104 or "ppc64-linux-gnu" by "powerpc64-apple-darwin" on the following line.

barracuda156 commented 1 year ago

@narke Thank you for responding!