Clarify building instructions for 10.7
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@144910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91a8272cbd
commit
704f09b212
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user