[cfe-dev] Building libclang.so rel3.1

York Zhao gtdplatform at gmail.com
Sat Mar 16 18:35:16 PDT 2013


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.

On Thu, Nov 8, 2012 at 11:21 AM, Miguel Guedes
<miguel.a.guedes at gmail.com> wrote:
> 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
> _______________________________________________
> 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