[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Mon Oct 31 21:58:59 CET 2016


Page "LibcxxOnOlderSystems" was changed by jeremyhu
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=45>
Revision 45
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 44)
+++ LibcxxOnOlderSystems (version: 45)
@@ -109,13 +109,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 1ad7738a54d1bb11c98455154e6d625680f49b2d), 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
+sudo port -v -s install clang-3.7
 
 # 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
+sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.7
 }}}
 
 With this, a simple PPC C++ "Hello World" app was able to run successfully on an Intel Mac.  Not much more testing has been done than that.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

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

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 admin at macports.org.


More information about the macports-changes mailing list