|
Boost : |
Subject: Re: [boost] Adding libc++ support to boost.
From: Christopher Jefferson (chris_at_[hidden])
Date: 2011-02-17 08:17:02
On 17 Feb 2011, at 12:19, 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.
>>
> Unfortunately, libc++, as of a few weeks ago, was having problems with
> a simple hello world program:
>
> http://llvm.org/bugs/show_bug.cgi?id=8992#c7
While libc++'s support for linux and windows is poor, on Mac OS X it is complete and works great. I am already compiling large c++ programs using a bug-fixed boost, using clang and libc++ on the mac.
So far I have only found one issue in libc++, already fixed, and one issue in clang, which should be fixed soon.
If people want to work on getting libc++ working on linux and windows, that is great. Once they work, the configuration for libc++ in boost might need extending, based on operating system.
Chris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk