[MacPorts] LibcxxOnOlderSystems modified
MacPorts
noreply at macports.org
Sun Oct 25 20:17:37 PDT 2015
Page "LibcxxOnOlderSystems" was changed by ryandesign at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=20>
Revision 20
Comment: rewrite introduction
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 19)
+++ LibcxxOnOlderSystems (version: 20)
@@ -1,8 +1,16 @@
= Using libc++ on older system =
-More and more C++ software is being written using the C++11 standard. The default C++ runtime on OS X 10.9 and later is libc++ which supports C++11 but on OS X 10.8 and earlier the default C++ runtime is a version of libstdc++ based on GCC 4.2.1 which does not support C++11. If you wish to build C++11-using software on 10.8 or earlier, you can switch MacPorts to use libc++ instead of libstdc++, but this must be done for MacPorts as a whole; it can't be done for individual ports.
+More and more C++ software is being written using the C++11 standard.
+If you have been referred to this page, you are trying to build software that uses C++11 on OS X 10.8 or earlier.
+The default C++ runtime on OS X 10.8 and earlier is a version of libstdc++ based on GCC 4.2.1 which does not support C++11.
+The default C++ runtime on OS X 10.9 and later is libc++ which does support C++11.
-At this time the MacPorts project does not build binary packages for libc++ on systems older than 10.9, so if you make this change, MacPorts will be building all ports from source.
+The recommended solution, if your computer supports it, is to upgrade to OS X 10.9 or later. If you do this, you can ignore the rest of this article, and should instead see the [wiki:Migration migration instructions].
+
+Alternately, you can switch MacPorts on OS X 10.8 or earlier to use libc++ instead of libstdc++.
+This must be done for MacPorts as a whole; it can't be done for individual ports.
+
+At this time the MacPorts project does not build binary packages for libc++ on OS X 10.8 or earlier, so if you make this change, MacPorts will be building all ports from source.
If you use MacPorts C++-using ports as dependencies for C++-using software that you compile outside of MacPorts, you must compile that software using libc++ as well.
-------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