[cfe-dev] Using C++11 <atomic> with Clang SVN

Eli Friedman eli.friedman at gmail.com
Thu Apr 19 16:08:29 PDT 2012


On Thu, Apr 19, 2012 at 3:46 PM, Marc Glisse <marc.glisse at inria.fr> wrote:
> On Thu, 19 Apr 2012, Eli Friedman wrote:
>
>> Make sure you check out libc++ into llvm/projects/libcxx/, and use
>> "make install", so clang uses the right libcxx.
>
> Wow, that actually works on some OS (macosx only I guess)? It seems so far
> here...
>
> - requires root (chown)

Yes, that's slightly less than ideal.

> - doesn't compile the lib

Not necessary on OS X Lion.

> - installs the include files in a place the driver doesn't know

I'm not sure I follow here... at least on Mac, we search for libcxx
relative to the clang executable.

-Eli



More information about the cfe-dev mailing list