[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Mon Jan 19 02:48:59 PST 2015


Page "LibcxxOnOlderSystems" was changed by jeremyhu at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=14>
Revision 14
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 13)
+++ LibcxxOnOlderSystems (version: 14)
@@ -68,11 +68,13 @@
 
 Darwin/PowerPC support is still quite experimental in llvm, so expect things to not be as stable as more established toolchains.  Additionally, it is non-trivial to bootstrap libc++ on Leopard because the libcxx port does not build for ppc with versions older than clang-3.6, and clang-3.5 and newer require libc++.  After setting up my Leopard/Intel Mac as described above (fully upgraded through r131812), I've been able to build a universal libc++ runtime for ppc:
 {{{
+# clang-3.6 or newer is required for compiling ppc code with clang
 sudo port -v -s install clang-3.6
 
-# Doesn't actually install the intel libc++ from the system, just the root
+# Uninstall the intel versions of these ports
 sudo port -v -f uninstall libcxx libcxxabi libmacho libunwind
 
+# Re-build libcxx, libcxxabi, libmacho, and libunwind with a ppc slice
 sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.6
 }}}
 
-------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