[MacPorts] LibcxxOnOlderSystems modified

MacPorts noreply at macports.org
Mon Jan 19 00:53:48 PST 2015


Page "LibcxxOnOlderSystems" was changed by jeremyhu at macports.org
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=11>
Revision 11
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 10)
+++ LibcxxOnOlderSystems (version: 11)
@@ -64,7 +64,7 @@
 
 == Leopard (ppc) ==
 
-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 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* libc++ for ppc but it's not quite tested yet.
+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 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:
 {{{
 sudo port -v -s install clang-3.6
 
@@ -74,6 +74,8 @@
 sudo port -v -s install libcxx universal_archs="x86_64 i386 ppc" configure.compiler=macports-clang-3.6
 }}}
 
+With this, a simple PPC C++ "Hello World" app was able to run successfully on an Intel Mac, but not much additional testing has been done.
+
 == Tiger ==
 
 I do not have a Tiger machine or VM, so I am not sure how feasible it is to get things working on Tiger.  If you are adventurous, I suggest you follow the Leopard instructions above and report issues.  Note that it will take a while to build libcxx because we'll need to build apple-gcc42 and use it to build clang-3.4 and use it to build libcxx.
-------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