[LLVMdev] Building LLVM as a shared library on MinGw (Makefiles)

Ivan Garramona heavenandhell171 at gmail.com
Fri Aug 1 12:01:34 PDT 2014


The shared library works fine here. I only made one modification to the
'tools/llvm-shlib/Makefile', because otherwise, two shared libraries would
be created.

I've commented out the line 'SHARED_ALIAS := 1' from the Makefile.

Here is the command line i used to build LLVM/Clang:
../../configure --build=i686-w64-mingw32 --disable-assertions
--enable-keep-symbols --enable-optimized --enable-shared
--enable-targets=x86,x86_64

I used Mingw-w64 4.9.1 i686 posix + Clang r213454.

Sorry for my English.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140801/7e0e1f74/attachment.html>


More information about the llvm-dev mailing list