[LLVMdev] why doesn't LLVM link its dependencies dynamically?

Gordon Henriksen gordonhenriksen at me.com
Tue Oct 7 07:50:32 PDT 2008

On Oct 6, 2008, at 15:52, Yale Zhang wrote:

> Hi everyone. I'm mainly build the debug versions of lli and opt  
> which are huge and take up to 10 seconds to build. It seems there is  
> no option in configure to allow dynamic linking. Before I try to add  
> it myself, is there a reason why it's not done?

In addition to the APIs being insufficiently stable for shared  
libraries to be of much use per se, it invoked pathologically bad  
performance in some dynamic link editors--startup times greatly  
exceeding your link times.

— Gordon

More information about the llvm-dev mailing list