stdlib & math?

Im using llvm and my project is based on the interpreter example code.

how do I use stdlib & math libs?

is it possible?

thanks.

Hi Paul,

Im using llvm and my project is based on the interpreter example code.

how do I use stdlib& math libs?

is it possible?

if you compile with libffi support (--enable-libffi) then you can pass
dynamic libraries to lli with -load=my_shared_library and call routines
from them from the bitcode being interpreted.

Ciao,

Duncan.