Creating full, global clang+llvm environment

Posted by Griwes on Super User See other posts from Super User or by Griwes
Published on 2012-09-18T16:32:04Z Indexed on 2012/10/04 21:42 UTC
Read the original article Hit count: 178

Filed under:
|

What is the easiest way to setup full Clang, libc++ and LLVM as default global toolchain? All of my attempts to build it, in most of the configurations I could think of, resulted in working Clang, but it didn't use libc++ headers, but default GCC's libstd++'s ones, resulting in numerous faults in incompatible pieces of library code.

I would like it working out of the box, without having to do magic in .bashrc or passing all those -stdlib=libc++ and -lc++ to compiler and linker.

© Super User or respective owner

Related posts about linux

Related posts about llvm