I wasn't say that deploying LLVM within a shared library didn't make sense, just that the interface to that shared library should be targeted at the application domain that it is being used within.<br><br><div class="gmail_quote">
On Fri, Apr 13, 2012 at 10:24 AM, Paul Robinson <span dir="ltr"><<a href="mailto:pogo.work@gmail.com">pogo.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There are a variety of "real world situations," some of them would benefit from<br>
shared-library packaging and some would not.  Say you're building a set of<br>
tools for internal deployment in your large-ish organization.<br>
Factoring out the<br>
Clang/LLVM bits into a shared library can reduce memory footprint when running<br>
multiple tools, reduce disk footprint which therefore reduces<br>
antivirus overhead,<br>
and so forth.  The constant-flux aspect of the interface mostly means you can't<br>
deploy the libraries separately from the tools that use them, but so what?<br>
Logistically that's no different than how you would deliver static-linked tools.<br>
<br>
Pogo<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Apr 13, 2012 at 9:59 AM, Nathan Jeffords<br>
<<a href="mailto:blunted2night@gmail.com">blunted2night@gmail.com</a>> wrote:<br>
> It seems to be that LLVM  doesn't make sense as a shared library. The<br>
> surface area of the interface is massive, and in constant flux. I would<br>
> think in real world situations, a domain specific interface with a more<br>
> focused public interface would the right solution.<br>
><br>
> On Fri, Apr 6, 2012 at 6:15 PM, Alan Garny <<a href="mailto:agarny@hellix.com">agarny@hellix.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>><br>
>><br>
>> From what I have seen on this mailing list and elsewhere, it would seem<br>
>> that it isn’t possible to build LLVM as a shared library using Visual C++.<br>
>> Still, I would imagine that quite a few people are or would be interested in<br>
>> it, so… is there any plan to support this any time soon? This, unless it’s<br>
>> already supported in some way or another which I am not aware of…? I have<br>
>> been able to build LLVM as a shared library using Autotools and GCC (through<br>
>> MinGW) on Windows (as well as on Linux and Mac OS X), so it would really be<br>
>> a shame if the same couldn’t be done using Visual C++…<br>
>><br>
>><br>
>><br>
>> Cheers, Alan.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> LLVM Developers mailing list<br>
>> <a href="mailto:LLVMdev@cs.uiuc.edu">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>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">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>
</div></div></blockquote></div><br>