[LLVMdev] How to call native functions from bytecode run in JIT?

Jan Rehders cmdkeen at gmx.de
Mon Jul 2 11:49:10 PDT 2007


Hello,

I just stumbled over a little detail which apparently is very  
relevant: in my makefile I linked against ${LLVM_LIB_DIR}/ 
LLVMPowerPC.o in the OS X version. For the linux version this was  
simply removed. If I add LLVMX86.o under Linux, methods get resolved,  
properly. This seems to fix the whole problem with method lookups on  
Linux.

Is this documented somewhere? All I could find was http://llvm.org/ 
docs/UsingLibraries.html which claims to be outdated.

Greetings,
Jan




More information about the llvm-dev mailing list