Changes between Version 3 and Version 4 of LibcxxOnOlderSystems


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

--

Legend:

Unmodified
Added
Removed
Modified
  • LibcxxOnOlderSystems

    v3 v4  
    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 0: Fix the SDK (Leopard Only) ====
     22==== Bootstrapping 1: Fix the SDK (Leopard Only) ====
    2323
    2424Leopard'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.
    2525
    26 ==== Bootstrapping 1: Install libc++ and libc++abi ====
     26==== Bootstrapping 2: Install libc++ and libc++abi ====
    2727
    28281. Start with a new install of MacPorts or '''uninstall all ports that use C++'''
     
    3232}}}
    3333
    34 ==== Bootstrapping 2: Build a current version of clang against libc++ ====
     34At this point, you will have libc++ installed and can use clang++-mp-3.4 -stdlib=libc++ for your personal projects, but like Lion and Mountain Lion, MacPorts will continue to use libstdc++ by default unless you continue with the next step.
     35
     36==== Bootstrapping 3: Build a current version of clang against libc++ ====
    35371. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain:
    3638{{{