Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

barracuda156

macrumors 68020
Original poster
Sep 3, 2021
2,322
1,534
I have asked in Devepment section, but apparently no one gonna reply there since my question is related to PowerPC: https://forums.macrumors.com/threads/how-to-customize-xcode-support-of-compilers.2332673
Thus asking here.

I have a rather non-standard set up to build for PowerPC: 10.6 PPC (10A190) with Xcode 3.2 and 10.6.8 with Xcode 3.2, Xcode 3.2.6 and Xcode 4.2.
There are two problems:


1. I have gcc10 and gcc11 built for PowerPC, however I don't know how to make Xcode see them. Same goes for Macports gcc6 and gcc7 (in /opt/local). This is relevant for all three versions of Xcode.


2. In Xcode 4.2 I cannot select Apple gcc 4.2, despite GCC 4.2.xcplugin being present. Generally speaking, I followed this procedure: https://stackoverflow.com/questions...well-as-full-10-4-10-5-sdk-support-to-xcode-4 (it needs few fixes). So outside of Xcode I can build for PowerPC with no issues, and Apple gcc 4.2 supports ppc. However llvm-gcc-4.2 which is default with Xcode 4.2 fails. Which in 10.6.8 and Macports I can specify exact path to desired compiler, in Xcode 4.2 I just see a useless "Other" that doesn't work: if I write GCC 4.2 there, it returns "unsupported compiler". Ironically, GCC 4.0 is available to choose.


Could anyone help me on this, please?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.