[LLVMdev] Installing LLVM/Clang/LLDB 3.4 on RHEL 6.2

Levi Morrison levi_morrison at byu.edu
Wed May 21 08:08:16 PDT 2014


The lab I work for uses RHEL 6.2; this means the versions of GNU
compilers and libraries such as libc that came with the OS are too old
to use newer C++; this is also a problem when trying to build LLDB
because it can't find <atomic>.

We don't really need to use GCC as far as I can tell; we should be
able to use libc++, libc++abi and libc++rt and avoid using GCC at all,
right? With that said, we have several newer versions of GCC (4.6,
4.7.2 and 4.8.2) installed to alternative locations; I'm just not sure
how to hook them up when building LLVM/Clang and couldn't find build
options for it.

tl;dr Is there documentation somewhere on how to build LLVM/Clang/LLDB
without using libstdc and libstdc++?



More information about the llvm-dev mailing list