Problem when configuring llvm and clang

I had some problems when running make and I was recommended to try a release build. This did work, but now i’m not sure if it is a good option as I want to develop a tool using clang as a library. Please, could you tell me how is the best way to configure llvm for this purpose?

In addition, I’m following the instructions in and I don’t know if I have to do what it is explained in:
Simultaneously Building Clang and LLVM

Finally, I’ve been trying to test if I can run the example shown in, but when I reach to the part the document prompts me to create a CmakeLists I lose the path as I don’t know what I have to do in this point.

As you can see, I’m newbie and I’m a quite lost.

Thanks in advance,


El dia 15 ene 2013 19:43, Matthieu Monrocq escribió: