| 64 | |
| 65 | == Leopard (ppc) == |
| 66 | |
| 67 | Power PC support is still in active development in llvm, so expect it to not be as stable as more established toolchains. Additionally, it is non-trivial to bootstrap libc++ on Leopard because the libcxx port does not build with versions older than clang-3.6, and clang-3.5 and newer require libc++. Starting on an Intel Mac with libc++ already, I've been able to build libc++ for ppc but have not yet tested it: |
| 68 | {{{ |
| 69 | sudo port -v -s install clang-3.6 |
| 70 | |
| 71 | # Doesn't actually install the intel libc++ from the system, just the root |
| 72 | sudo port -v -f uninstall libcxx libcxxabi libmacho libunwind |
| 73 | |
| 74 | # ld crashes in getsectiondata linking the ppc slice of libmacho if libmacho is built with macports-clang-3.6 |
| 75 | sudo port -v -s install libunwind universal_archs="x86_64 i386 ppc" configure.compiler=gcc-4.2 |
| 76 | |
| 77 | sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.6 |
| 78 | }}} |
| 79 | |
| 80 | == Tiger == |
| 81 | |
| 82 | I do not have a Tiger machine or VM, so I am not sure how feasible it is to get things working on Tiger. If you are adventurous, I suggest you follow the Leopard instructions above and report issues. Note that it will take a while to build libcxx because we'll need to build apple-gcc42 and use it to build clang-3.4 and use it to build libcxx. |