[LLVMdev] Shared libs?

Thomas Hudson hudson at speakeasy.net
Sun Jun 8 19:57:44 PDT 2008


I've been playing with LLVM for a couple of months now and really am  
enjoying myself. I finally got around to doing something useful and  
had started implementing bindings for Ruby. I've been working off the  
tip of trunk and realized my build didn't have shared libs. I've spent  
the better part of a day trying to build llvm with shared libraries  
with no luck on either Mac OS X 10.5.2 , or Ubuntu 8.04.

Exactly what magic incantation must I pass to configure?

I've tried:

--enable-shared
--enable-shared=yes
--enable-shared=core, --enable-shared=Core, --enable-shared=all

and all of the above with various flags such as:

--enable-pic
--disable-static

And still not a single shared lib in sight. The only other flags I am  
using are "--enable-targets=host-only" and "--enable-optimized."

Tomy





More information about the llvm-dev mailing list