Changes between Version 13 and Version 14 of LibcxxOnOlderSystems
- Timestamp:
- Jan 19, 2015, 10:48:57 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LibcxxOnOlderSystems
v13 v14 69 69 Darwin/PowerPC support is still quite experimental in llvm, so expect things 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 for ppc with versions older than clang-3.6, and clang-3.5 and newer require libc++. After setting up my Leopard/Intel Mac as described above (fully upgraded through r131812), I've been able to build a universal libc++ runtime for ppc: 70 70 {{{ 71 # clang-3.6 or newer is required for compiling ppc code with clang 71 72 sudo port -v -s install clang-3.6 72 73 73 # Doesn't actually install the intel libc++ from the system, just the root74 # Uninstall the intel versions of these ports 74 75 sudo port -v -f uninstall libcxx libcxxabi libmacho libunwind 75 76 77 # Re-build libcxx, libcxxabi, libmacho, and libunwind with a ppc slice 76 78 sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.6 77 79 }}}