[LLVMdev] using dynamic libraries from bytecode?
mrs at apple.com
Wed Jun 18 11:08:03 PDT 2008
On Jun 18, 2008, at 6:48 AM, Yaroslav Kavenchuk wrote:
> Is it possible to use dynamic library (*.so *.dll) from bytecode?
> If "yes" - how?
dlopen? That's be one way. Also, most systems have shared libraries
in /usr/lib and these routines are meant to be linked against and
used. For example, on darwin, there sinf is resolved from a shared
library, you declare it and call it, as normal. You should be able to
use llvm-gcc to see the bytecode of such a use of a routine from a
More information about the llvm-dev