Displaying 2 results from an estimated 2 matches for "usedocamlinterfaces".
2009 Jan 19
0
[LLVMdev] ocaml build system
...;x y z" down to the linker
when creating an executable. The UsedComponents variable originates in
this case from bindings/ocaml/executionengine/Makefile:
LEVEL := ../../..
LIBRARYNAME := llvm_executionengine
DONT_BUILD_RELINKED := 1
UsedComponents := executionengine jit interpreter native
UsedOcamlInterfaces := llvm llvm_target
include ../Makefile.ocaml
I don't see anything obviously wrong here; it seems that llvm-config -
ldflags executionengine jit interpreter native should be invoked,
which should give you the -cclib -lffi you seek. make VERBOSE=1 and/or
TOO_VERBOSE=1 should show you the...
2009 Jan 19
2
[LLVMdev] ocaml build system
I have an issue with the OCaml build system and the ExecutionEngine.
PR2128 has a patch to change the Interpreter to use libffi. This breaks
test/Bindings/Ocaml/executionengine.ml because OCaml doesn't try to link
with libffi, even though llvm-config knows that we should:
$ Debug/bin/llvm-config --ldflags interpreter
-L/home/nicholas/llvm-commit/Debug/lib -lpthread -lffi -ldl -lm