[LLVMdev] Shared Libraries (dlls) using MinGW

Óscar Fuentes ofv at wanadoo.es
Mon Sep 27 15:50:53 PDT 2010


Kevin Browder <kbrowder at gmail.com> writes:

> So I've been looking around for people who have built shared libraries on
> windows and have run in to a bit of a stumbling block.  I'm able to compile
> without the BUILD_SHARED_LIBS flag but if I put turn the flag on as follows:
>
> cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release
> -DBUILD_SHARED_LIBS:BOOL=ON ../llvm-2.7

Shared libraries are not supported on Windows. The configure&make build
has an option for building a single DLL containing all LLVM.

[snip]




More information about the llvm-dev mailing list