Manuel
unread,Jun 29, 2011, 3:42:04 PM6/29/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to llvm-py: Python Bindings for LLVM
Hi,
I compiled a C++ file into llvm assembler using llvm-gcc-4.2 and
loaded the llvm assembler file using llvm.core.Module.from_assembly().
When I call a function from this module, I get this error:
LLVM ERROR: Could not resolve external global address: _ZSt4cout
Probably I have to link libstdc++ into my module, but how do I do
that? llvm has a function called LinkInLibrary(), but is this function
available from the Python interface?
Cheers,
Manuel