Building clang/cling 3.5 for ROOT on Lion

Mojca Miklavec mojca at macports.org
Tue Apr 8 04:41:11 PDT 2014


On Tue, Apr 8, 2014 at 12:53 PM, Chris Jones wrote:
> On 08/04/14 11:26, Joshua Root wrote:
>> On 2014-4-8 20:02 , Chris Jones wrote:
>>>
>>>> You can actually use libc++ all the way back to 10.6 (with the libcxx
>>>> port). The trick is that if you build root against libc++, then every
>>>> library it uses via a C++ API must also be built against libc++, and
>>>> likewise for every library that uses it via a C++ API.
>>>
>>>
>>> Yes, but that doesn't help here, as the libc++ on 10.6 does not support
>>> c++11 fully.
>>
>> Which parts doesn't it support? The description of the port specifically
>> says that it is "targeting C++11".
>
> I am only going on the reports I have seen from Mojca (I only have OSX10.9)
> but it appears std::move at least is not supported.

I didn't say that libc++ doesn't work – I didn't try that at all (I'm
not even sure I know how to do it; maybe I could create a new macports
installation with instructions posted by Jeremy a while ago). I just
said that using clang-3.4 doesn't help as that doesn't support all
c++11 features needed by cling.

Mojca


More information about the macports-dev mailing list