Compile LLVM from source on linux

I downloaded the LLVM source code and I am trying to compile it.

I made the main one:

./configure --prefix=/some/path/
make
make install

But I have another project that depends on it, and it looks like it is looking for a shared library with the name: libLLVM-2.9.sothat is not built.

When I get llvm through synaptic (I use Ubuntu), it installs such a library on /usr/lib(and root llvm also installs on / usr / liv / llvm /). My question is: what should I configure so that the code compiled from the source generates libLLVM-2.9.so?

PS: Actually, I think this problem is more general, I quote llvm as an example.

+3
source share
3 answers

--enable-shared ?

./configure --help, configure.

+3

2.9 pass -enable

+2

All Articles