Changes between Version 2 and Version 3 of LibcxxOnOlderSystems


Ignore:
Timestamp:
Jan 12, 2015, 1:55:16 AM (9 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LibcxxOnOlderSystems

    v2 v3  
    2020Leopard and Snow Leopard do not have libc++ installed by the OS, but MacPorts can build and install system roots that contain these runtimes for your use.  After installing these roots (which is done automatically when the libcxxabi and libcxx ports activate), you can choose to continue using libstdc++ as the default C++ runtime in MacPorts or configure MacPorts to use the new libc++ runtime.
    2121
    22 === Bootstrapping 1: Install libc++ and libc++abi ===
     22==== Bootstrapping 0: Fix the SDK (Leopard Only) ====
     23
     24Leopard's SDK has some bugs that are more visible when using newer toolchains, so please follow the steps in [wiki:LeopardSDKFixes Leopard SDK Fixes] first.
     25
     26==== Bootstrapping 1: Install libc++ and libc++abi ====
    2327
    24281. Start with a new install of MacPorts or '''uninstall all ports that use C++'''
     
    2832}}}
    2933
    30 === Bootstrapping 2: Build a current version of clang against libc++ ===
     34==== Bootstrapping 2: Build a current version of clang against libc++ ====
    31351. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain:
    3236{{{