[LLVMdev] Building LLVM as a shared library on MinGw (Makefiles)
Keno Fischer
kfischer at college.harvard.edu
Fri Aug 1 12:51:51 PDT 2014
Hmm, that's intersting. I guess the difference might be that you're
targetting 32bit and I'm targetting 64bit. Does it still work if you
replace
"s/^.* T _\([^.][^.]*\)$$/\1/p"
by
"s/^.* T \([^.][^.]*\)$$/\1/p"
in
tools/llvm-shlib (and similarly on the next line). If so I'll submit
this as a patch, if not I'll see how we can distinguish the two cases.
On Fri, Aug 1, 2014 at 3:01 PM, Ivan Garramona
<heavenandhell171 at gmail.com> wrote:
> 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.
More information about the llvm-dev
mailing list