[PATCH] D37116: Enable building LLVMgold.dll under mingw.
Stephen Hines via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 27 19:04:23 PDT 2017
srhines added a comment.
In https://reviews.llvm.org/D37116#853732, @chapuni wrote:
> Patch itself is good, as far as LLVM_BUILD_LLVM_DYLIB works for mingw dll.
>
> @srhines, I don't think BUILD_SHARED_LIBS would be incompatible. What is your case?
BUILD_SHARED_LIBS goes far beyond what is needed for just the simple plugins, as I don't want shared libraries for all sub-components (on Windows or Linux for that matter). BUILD_SHARED_LIBS also doesn't work with mingw. I get undefined reference errors, so I am not sure how anyone works with it these days, but we have cobbled together most of a build that works, and this is the last missing piece for LTO (hopefully).
https://reviews.llvm.org/D37116
More information about the llvm-commits
mailing list