[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <Xavier.Leroy@i...> |
| Subject: | Re: [Caml-list] Interface between Ocaml and Assembler |
> But it will be easier to make a "bridge" like this one : "asm code" -> > "C code"->"Ocaml code" ? Yes, very much easier. > ld -o test gas.o test.o truc_main.o -L/usr/lib/ocaml/3.09.2/ -lasmrun > -lm -ldl > > /usr/lib/ocaml/3.09.2//libasmrun.a(ints.o): In function > `caml_int64_of_string': > (.text+0xb4b): undefined reference to `__udivdi3' > > Does anyone has a solution ? Use "gcc" instead of "ld" for the final linking step. - Xavier Leroy