Displaying 4 results from an estimated 4 matches for "make_nul".
Did you mean:
make_null
2007 Oct 02
2
[LLVMdev] OCaml Install Error
...i8]* @greeting, i32 0, i32 0 *)
let zero = make_int_constant i32_type 0 false in
let str = build_gep greeting [| zero; zero |] "tmp" at_entry in
(* call i32 @puts( i8* %tmp ) *)
ignore (build_call puts [| str |] "" at_entry);
(* ret void *)
ignore (build_ret (make_null i32_type) at_entry);
(* write the module to a file *)
if not (write_bitcode_file m filename) then exit 1;
dispose_module m
$ ocamlopt -cc g++ llvm.cmxa llvm_bitwriter.cmxa -o metahelloworld
metahelloworld.ml
$ ./metahelloworld helloworld.bc
$ llvm-dis < helloworld.bc
; ModuleID = &...
2007 Oct 19
0
[LLVMdev] OCaml Install Error
...> let zero = make_int_constant i32_type 0 false in
> let str = build_gep greeting [| zero; zero |] "tmp" at_entry in
>
> (* call i32 @puts( i8* %tmp ) *)
> ignore (build_call puts [| str |] "" at_entry);
>
> (* ret void *)
> ignore (build_ret (make_null i32_type) at_entry);
>
> (* write the module to a file *)
> if not (write_bitcode_file m filename) then exit 1;
> dispose_module m
>
> $ ocamlopt -cc g++ llvm.cmxa llvm_bitwriter.cmxa -o metahelloworld
> metahelloworld.ml
> $ ./metahelloworld helloworld.bc
> $ ll...
2007 Oct 02
0
[LLVMdev] OCaml Install Error
Hi,
where can I read more about this? I assume (hope) the lib provides
some kind of OCaml bindings? I could not find any trace of it in the
2.1 release source so I guess it's currently SVN only?
greetings,
Jan
On 2. Okt 2007, at 12:22, Gordon Henriksen wrote:
> On 2007-10-02, at 03:19, Gordon Henriksen wrote:
>
>> On Oct 2, 2007, at 00:17, Bill Wendling wrote:
>>
2007 Oct 02
4
[LLVMdev] OCaml Install Error
On 2007-10-02, at 03:19, Gordon Henriksen wrote:
> On Oct 2, 2007, at 00:17, Bill Wendling wrote:
>
>> I get this error duing a "make install":
>>
>> llvm[3]: Installing Debug /usr/local/lib/ocaml/libllvm.a
>> install: /usr/local/lib/ocaml/libllvm.a: Permission denied
>> make[3]: *** [install-a] Error 71
>> make[2]: *** [install] Error 1