clinuxclangpowerpc

Clang on Power PC CPU Architecture?


Has anybody run Clang as a C compiler on ppc architecture? I am trying to resurrect an old G4 12 inch Powerbook (867 Mhz G4 CPU) and will install Linux (Debian with a Linux Mint/LXDE front end) on it, I will not run OS X on the machine. It seems fairly closely tied to Intel/X86 architecture. Will it run reasonably well as a C compiler on ppc? I realize I could run gcc but Clang is much more user friendly.

I will be using it purely as a C compiler, will not tap into it's C++ or Objective C abilities. My programs are student level programs (up to a few hundred lines) and so will likely not tax Clang's abilities.


Solution

  • Just an update. I installed Clang 2.7 on Debian Stable 6.03 on a previously retired Mac Powerbook G4. At least with C, and using medium sized (up to a few hundred lines) programs restricted to the command line, it seems to work well.