Changes between Version 2 and Version 3 of LibcxxOnOlderSystems
- Timestamp:
- Jan 12, 2015, 1:55:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LibcxxOnOlderSystems
v2 v3 20 20 Leopard 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. 21 21 22 === Bootstrapping 1: Install libc++ and libc++abi === 22 ==== Bootstrapping 0: Fix the SDK (Leopard Only) ==== 23 24 Leopard'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 ==== 23 27 24 28 1. Start with a new install of MacPorts or '''uninstall all ports that use C++''' … … 28 32 }}} 29 33 30 === Bootstrapping 2: Build a current version of clang against libc++===34 ==== Bootstrapping 2: Build a current version of clang against libc++ ==== 31 35 1. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain: 32 36 {{{