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

Matthias Vallentin vallentin at icir.org
Thu Apr 19 11:52:40 PDT 2012


> Make sure you check out libc++ into llvm/projects/libcxx/, and use
> "make install", so clang uses the right libcxx.

I tried to check out libc++ into llvm/projects/libcxx and invoking
configure again. This message during configure gives me pause though:

    configure: WARNING: Unknown project (libcxx) won't be configured
automatically

Even passing --enable-libcpp to configure does not get rid of this
warning. In fact, the Makefile in llvm/projects mentions:

    # Don't build libcxx, it isn't designed to be built directly.
    DIRS := $(filter-out libcxx,$(DIRS))

Should clang pick up libc++ automatically or am I supposed to install it
manually first?

    Matthias



More information about the cfe-dev mailing list