[cfe-dev] Building Clang+CXX+CXXABI Standalone For Linux

Eric Fiselier eric at efcs.ca
Wed May 13 13:58:19 PDT 2015


Once you have a clang/libc++/libc++abi installed on linux you can
configure the LLVM CMake build with the following options:

'-DLLVM_ENABLE_LIBCXX=ON -DLLVM_ENABLE_LIBCXXABI=ON'

This will configure the build to use the installed libc++ and
libc++abi instead of libstdc++.

/Eric



On Wed, May 13, 2015 at 4:11 PM, John Leidel (jleidel)
<jleidel at micron.com> wrote:
> All, I’ve been through the various Clang/libcxx/libcxxabi pages (as well as many found via mailing list archives).  Does anyone have a good consolidated workflow for building a clang+llvm+libcxx+libcxxabi tree that is completely standalone from GNU libstdc++ on Linux?  I have a simple patch that forces the default standard library to libcxx (without requiring it on the command line), but it attempts to pull the default system headers for C++ from GNU.
>
> — John D. Leidel
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list