[LLVMdev] Build LLVM as a DLL on Windows x86

NAKAMURA Takumi geek4civic at gmail.com
Sun Nov 13 15:17:42 PST 2011


2011/11/13 Alan Garny <agarny at hellix.com>:
> Anyway, from there, I got LLVM's source code (see
> http://www.llvm.org/releases/), unpacked it and:
>
>     cd <LLVM-ROOT>
>
>     mkdir ../LLVM-build
>
>     cd ../LLVM-build
>
>     ../<LLVM-ROOT>/configure --disable-docs --enable-shared
> --enable-targets=host
>
>     make

Please try --enable-optimizations. debug symbols might choke building
DLL (aka tools/llvm-shlib).

If you would not solve, feel free to send to me directly, config.log
and build log.

...Takumi




More information about the llvm-dev mailing list