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: Aaron Bohannon <bohannon@c...>
Subject: Re: [Caml-list] compiling C library wrapper
Thanks, I will look into that if I want to distribute wrapper code for
others to use.  My current problems just involve using wrapper code
from other people with incomplete/broken Makefiles.

 - Aaron

On Sat, Nov 7, 2009 at 7:25 AM, Richard Jones <rich@annexia.org> wrote:
> 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
>