Version française
Home     About     Download     Resources     Contact us    
Browse thread
compiling C library wrapper
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] compiling C library wrapper
On Thu, Nov 05, 2009 at 06:38:05PM -0500, Aaron Bohannon wrote:
> Ah!  Yes, that's exactly the part I didn't understand and everything
> works fine now.  Thank you!
> 
> I can't say I completely understand the byte-code case, but I don't
> have an urgent need to.
> 
> ocamlmklib seems fine, but if it's just a matter of saving keystrokes,
> "make" does a pretty good job of that (as long as I know what to tell
> "make" to do).

For the install step, use 'ocamlfind install'.

Grab the latest source tarball for one of our projects,
eg. libvirt-ocaml, to see how we do it:

http://libvirt.org/sources/ocaml/
or: http://libguestfs.org/download/

Rich.

-- 
Richard Jones
Red Hat