[LLVMdev] Why LLVM libraries are static?
ghost at cs.msu.su
Wed Mar 1 06:59:03 PST 2006
Is there any reason why after "./configure; make" all LLVM libraries are .a
files, and not .so files?
The problem with .a files is that if I make a plugin, say code generator, it
should link in pretty large LLVM libraries. If libraries were shared, this
would not be required.
Alternatively, tools that load plugins can probably mark all symbols as
dynamically exported, by using gcc option
Again, this will allow plugins to use LLVM symbols without linking in a
static copy of them.
Or I just did not notice some option to configure?
More information about the llvm-dev