[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Sun Jan 11 17:56:56 PST 2015


Page "LibcxxOnOlderSystems" was changed by jeremyhu at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=4>
Revision 4
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 3)
+++ LibcxxOnOlderSystems (version: 4)
@@ -19,11 +19,11 @@
 
 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.
 
-==== Bootstrapping 0: Fix the SDK (Leopard Only) ====
+==== Bootstrapping 1: Fix the SDK (Leopard Only) ====
 
 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.
 
-==== Bootstrapping 1: Install libc++ and libc++abi ====
+==== Bootstrapping 2: Install libc++ and libc++abi ====
 
 1. Start with a new install of MacPorts or '''uninstall all ports that use C++'''
 2. Install the libcxx port.  When it activates, the libcxxabi and libcxx ports will install libc++.dylib and libc++abi.dylib (which will remain after you uninstall MacPorts).  This will pull in a number of dependencies.
@@ -31,7 +31,9 @@
 sudo port -v -s install libcxx
 }}}
 
-==== Bootstrapping 2: Build a current version of clang against libc++ ====
+At 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.
+
+==== Bootstrapping 3: Build a current version of clang against libc++ ====
 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:
 {{{
 	sudo port -v -f deactivate active
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems>
MacPorts <https://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'LibcxxOnOlderSystems' page.
If it was not you, please report to .


More information about the macports-changes mailing list