
On 10 Feb 2011, at 21:01, Larry Evans wrote:
On 02/10/11 14:27, Christopher Jefferson wrote:
Hello,
I want to add support for libc++, the c++ standard library attached to clang, to boost. Fixes required should not be attached to clang, as clang can use various standard libraries. Is there a standard way I should add the library, or just add the macro where needed.
The best macro to use for detecting libc++ is _LIBCPP_VERSION. Hopefully the changes required will be minimal.
The following instructions for installing libc++:
are Mac OS X 10.6 oriented. To install on linux, you'll need to make some changes to those instructions:
http://llvm.org/bugs/show_bug.cgi?id=9153
Also, the following modification needs to be made for use of std::cout in libcxx to be useful on linux:
Thanks, I am already happily running libc++ on mac, and running the boost regression tester (which is failing in lots of ways, which I want to fix). Chris