Changes between Version 13 and Version 14 of LibcxxOnOlderSystems


Ignore:
Timestamp:
Jan 19, 2015, 10:48:57 AM (9 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LibcxxOnOlderSystems

    v13 v14  
    6969Darwin/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:
    7070{{{
     71# clang-3.6 or newer is required for compiling ppc code with clang
    7172sudo port -v -s install clang-3.6
    7273
    73 # Doesn't actually install the intel libc++ from the system, just the root
     74# Uninstall the intel versions of these ports
    7475sudo port -v -f uninstall libcxx libcxxabi libmacho libunwind
    7576
     77# Re-build libcxx, libcxxabi, libmacho, and libunwind with a ppc slice
    7678sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.6
    7779}}}