[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Mon Feb 8 09:29:39 PST 2016


Page "LibcxxOnOlderSystems" was changed by jeremyhu at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=22>
Revision 22
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 21)
+++ LibcxxOnOlderSystems (version: 22)
@@ -66,12 +66,19 @@
 {{{
 sudo port -v -f uninstall inactive
 }}}
-4. Build a newer clang compiler using libc++ and uninstall the old one using libstdc++:
+4. Build a newer clang compiler using libc++:
 {{{
 sudo port -v install clang-3.7
+}}}
+5. Update cctools and ld64 to use the newer version of llvm:
+{{{
+sudo port -v -s upgrade -f --enforce-variants cctools -llvm34 +llvm37 configure.compiler=macports-clang-3.7
+sudo port -v -s upgrade -f --enforce-variants ld64 -llvm34 +llvm37 configure.compiler=macports-clang-3.7
+}}}
+6. Uninstall the older toolchain:
 sudo port -v uninstall llvm-3.4 clang-3.4
 }}}
-5. Either:
+7. Either:
     1. Edit /opt/local/etc/macports/macports.conf again to add macports-clang-3.7 before macports-clang-3.4.
     2. Rebuild clang-3.4 using clang-3.7:
 {{{
-------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