[LLVMdev] Linking with C Library
Nyx
mcheva at cs.mcgill.ca
Mon Apr 5 19:06:54 PDT 2010
>> Ok, you've passed my expertise. Maybe you have to link with -lc?
Hopefully one of the ocaml experts will chime in.
I figured out what was wrong. LLVM needs to be compiled with --enable-libffi
for the external symbol resolution to work properly. This is unfortunately
not mentioned in the OCaml version of the LLVM Kaleidoscope tutorials!
--
View this message in context: http://old.nabble.com/Linking-with-C-Library-tp28133460p28146796.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list