[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Thu Aug 4 20:06:55 PDT 2016

Page "LibcxxOnOlderSystems" was changed by jeremyhu at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=39>
Revision 39
Index: LibcxxOnOlderSystems
--- LibcxxOnOlderSystems (version: 38)
+++ LibcxxOnOlderSystems (version: 39)
@@ -69,7 +69,7 @@
 sudo port -v -f uninstall inactive
-4. Build a newer clang using libc++:
+4. Build a newer clang using libc++ (note: this will also install clang-3.7 as a build dependency):
 sudo port -v install clang-3.8
@@ -86,7 +86,18 @@
 sudo port -v -n upgrade --enforce-variants cctools -llvm34
 sudo port -v upgrade --enforce-variants ld64 -llvm34
-8. Uninstall the bootstrap toolchain:
+8. Disable the variants corresponding to the older versions of ld64 in `/opt/local/etc/macports/variants.conf`.  This ensures that ld64 will be reinstalled using the appropriate variants in the future:
+9. Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker (note macports-clang-3.8 fails to compile it on Snow Leopard currently, so use macports-clang-3.7):
+sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_136 -ld64_236 configure.compiler=macports-clang-3.7
+10. Uninstall the bootstrap toolchain:
 sudo port -v deactivate llvm-3.4 clang-3.4
 sudo port -v uninstall inactive

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