Clarify building instructions for 10.7

llvm-svn: 144910
This commit is contained in:
Howard Hinnant 2011-11-17 17:14:16 +00:00
parent 29ee0b14d5
commit 7319160e7c
1 changed files with 11 additions and 3 deletions

View File

@ -143,9 +143,17 @@
<li><code>svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx</code></li>
</ul>
<p>To build on Mac OS X 10.6, you need a helper library and header
<p>
On Mac OS 10.7 (Lion), the easiest way to get this library is to install
Xcode 4.2 or later. However if you want to install tip-of-trunk from here
(getting the bleeding edge), read on.
</p>
<p>To build on Mac OS X 10.6 (Snow Leopard), you need a helper library and header
<a href="http://home.roadrunner.com/~hinnant/libcppabi.zip">found here</a>.
cp cxxabi.h to /usr/include, and cp libc++abi.dylib to /usr/lib.
cp cxxabi.h to /usr/include, and cp libc++abi.dylib to /usr/lib. On Mac OS
X 10.7 (Lion) and later, this helper library and header are already installed
for you.
<p>
<p>
@ -155,7 +163,7 @@
<ul>
<li><code>cd libcxx/lib</code></li>
<li><code>export TRIPLE=-apple-</code></li>
<li><code>export MACOSX_DEPLOYMENT_TARGET=10.6</code></li>
<li>Only on 10.6: <code>export MACOSX_DEPLOYMENT_TARGET=10.6</code></li>
<li><code>./buildit</code></li>
</ul>