From 1c8358c13c100dceea7681425eeaf20a9194aced Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 6 Nov 2012 21:31:37 +0000 Subject: [PATCH] Update instructions for building and using libc++ on Mac OS llvm-svn: 167490 --- libcxx/www/index.html | 45 ++++++++++++++++++--------------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/libcxx/www/index.html b/libcxx/www/index.html index 3c7bc9d..200ad5f5 100644 --- a/libcxx/www/index.html +++ b/libcxx/www/index.html @@ -139,20 +139,13 @@

- On Mac OS 10.7 (Lion), the easiest way to get this library is to install + On Mac OS 10.7 (Lion) and later, 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. However, be warned that Mac OS 10.7 will not boot without a valid copy of libc++.1.dylib in /usr/lib.

-

To build on Mac OS X 10.6 (Snow Leopard), you need a helper library and header - found here. - 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. -

-

Next:

@@ -160,30 +153,34 @@

- That should result in a libc++.1.dylib. To install it I like to use links - instead of copying, but either should work: + That should result in a libc++.1.dylib and libc++.dylib. The safest thing + to do is to use it from where your libcxx is installed instead of replacing + these in your Mac OS. +

+ +

+ To use your system-installed libc++ with clang you can:

- To use with clang you can: + To use your tip-of-trunk libc++ on Mac OS with clang you can:

To run the libc++ test suite (recommended):

@@ -192,14 +189,8 @@
  • cd libcxx/test
  • ./testit
  • -- 2.7.4