[
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: | John Nowak <john@j...> |
| Subject: | Re: [Caml-list] calling OCaml from C on non-Mac platforms? |
On Nov 15, 2009, at 9:55 AM, Eric Cooper wrote: > On Sun, Nov 15, 2009 at 08:27:49AM -0500, John Nowak wrote: > >> I'm trying to call OCaml from C. >> [...] >> ocamlopt -output-obj hello.cmx -o hello.o > > This is the main problem. You're clobbering the hello.o that OCaml > produced when compiling hello.ml into native code. Works well now, thanks. Perhaps the documentation could be amended to make this more clear. Although, in retrospect, I should've realized what was happening. - John