search for: libcamlrun

Displaying 3 results from an estimated 3 matches for "libcamlrun".

Did you mean: lcamlrun
2010 Feb 23
0
[LLVMdev] Calling OCaml functions from LLVM
Hi, I was trying how to call OCaml code from a LLVM pass. First, I tested how to call OCaml from simple C++ code, which works. But when I was calling OCaml from LLVM, I have the following problems: 1) A linkage error. To call OCaml from C++, we need to link to libcamlrun.a, which defines the interfaces between C and OCaml. But libcamlrun.a also has a main function. So ld complains it conflicts with the main function in opt.cpp. I did not have this error in simple C++ and OCaml code. I might screw something up. It reports errors when compiled both as shared librarie...
2017 Nov 14
2
[PATCH v2] daemon: Use a configure-time test to find the best OCaml
v1 was here: https://www.redhat.com/archives/libguestfs/2017-November/msg00068.html v1 -> v2: - Use a configure-time test. Rich.
2017 Nov 14
0
[PATCH v2] daemon: Use a configure-time test to find the best OCaml runtime.
...f test -f "$OCAMLLIB/lib$f.a"; then + CAMLRUN=$f + break + fi + done + fi + if test "x$CAMLRUN" != "x"; then + AC_MSG_RESULT([$CAMLRUN]) + else + AC_MSG_ERROR([could not find or link to libasmrun or libcamlrun]) + fi + AC_SUBST([CAMLRUN]) fi OCAML_PKG_gettext=no -- 2.13.2