[LLVMdev] LLVM Shared DLL not supported reason

Reid Kleckner rnk at google.com
Wed Apr 1 09:03:45 PDT 2015


Windows DLLs generally require that you know what you want to export from
them. LLVM has no export annotations or export lists, so we don't support
building DLLs. If you are using mingw, then ld supports the
--export-all-symbols flag which might work, but I don't think it's well
tested.

On Tue, Mar 31, 2015 at 11:33 AM, Hayden Livingston <halivingston at gmail.com>
wrote:

> Upon reading http://llvm.org/docs/GettingStarted.html it says I can build
> shared libs, but when going to the CMake doc (
> http://llvm.org/docs/CMake.html) it says Shared libraries are not
> supported on Windows and not recommended for other OSes.
>
> Is there a reason why? At least for on Windows.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150401/5f073098/attachment.html>


More information about the llvm-dev mailing list