Building libclang.so rel3.1

Hello List,

I was experiencing lots of segfaults/crashes with libclang's code-completion feature (version 3.0-6ubuntu3) and so decided to upgrade to the latest stable release, 3.1.

Just built LLVM and Clang with Cmake and realised it doesn't build libclang.so; had a look in ./llvm/tools/clang/tools/libclang/CMakeLists.txt and couldn't find any flag/Cmake option that might prevent libclang from being built; also had a look in the global ./llvm/CMakeLists.txt file and couldn't find anything relevant either.

Built LLVM/Clang like so:

~/prj/llvm$ cmake -D CMAKE_BUILD_TYPE=RELEASE /usr/src/llvm -D LLVM_BUILD_EXAMPLES=ON /usr/src/llvm && make

What am I missing?

Miguel

I'm having the same problem, just that I'm compiling clang in Windows using
MinGw. I have no problem compiling clang but "libclang.dll" is not created with
the build. I have searched extensively but got no answer at all. Please help me
if anyone knows how to build libclang? Thanks in advance.

Anybody?