<div dir="ltr">FWIW, I've got a powershell script that builds an exports.def file for recognizable C functions.<div><br></div><div>You could adapt it to Python and make it part of the official build if the LLVM community thinks it will be beneficial to have libLLVM.dll<br><div><div><br></div><div>The script is located here:</div><div><br></div><div><a href="https://github.com/mjsabby/LLVMSharp/blob/master/GenLLVMDLL.ps1">https://github.com/mjsabby/LLVMSharp/blob/master/GenLLVMDLL.ps1</a></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 9:03 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Mar 31, 2015 at 11:33 AM, Hayden Livingston <span dir="ltr"><<a href="mailto:halivingston@gmail.com" target="_blank">halivingston@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div>Upon reading <a href="http://llvm.org/docs/GettingStarted.html" target="_blank">http://llvm.org/docs/GettingStarted.html</a> it says I can build shared libs, but when going to the CMake doc (<a href="http://llvm.org/docs/CMake.html" target="_blank">http://llvm.org/docs/CMake.html</a>) it says Shared libraries are not supported on Windows and not recommended for other OSes.</div><div><br></div><div>Is there a reason why? At least for on Windows.</div></div>
<br></span>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>