Displaying 3 results from an estimated 3 matches for "output_bitcod".
Did you mean:
output_bitcode
2010 Mar 05
0
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
...and the
> ocaml bindings for the soon to be released 2.7. Does anyone need any
> other functions exposed before the code freeze on the 7th?
Oh hey... I remember now. There is one thing I probably won't get around to doing myself until after the code freeze.
(* Llvm_bitwriter *)
val output_bitcode: out_channel -> Llvm.llmodule -> unit
It would, of course, be awesome if you could get that into the 2.7 train.
—
j h woodyatt <jhw at conjury.org>
http://jhw.vox.com/
2010 Mar 04
4
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
I've pretty much finished exposing all I wanted to llvm-c and the
ocaml bindings for the soon to be released 2.7. Does anyone need any
other functions exposed before the code freeze on the 7th?
2010 Jun 27
0
[LLVMdev] ocaml bindings + ocamlbuild problem
Hello,
I'm trying to use Llvm_bitwriter + ocamlbuild, but it doesn't
recognize its dependency on Unix, so it doesn't compile. Minimal
case:
(* FILE: minimal.ml *)
let main () =
let m = Llvm.create_module (Llvm.global_context ()) "test" in
ignore (Llvm_bitwriter.output_bitcode stdout m)
;;
main ()
(* FILE: _tags *)
<*.{byte,native}>: g++, use_unix, use_llvm, use_llvm_bitwriter
(* FILE: myocamlbuild.ml *)
open Ocamlbuild_plugin;;
ocaml_lib ~extern:true "llvm";;
ocaml_lib ~extern:true "llvm_bitwriter";;
flag ["link"; "ocaml&...