From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 29D17BBAF for ; Sat, 7 Nov 2009 13:26:06 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEDAGz29EpQRFuwWWdsb2JhbACbawEWFQS+CoJGgXgEjAY X-IronPort-AV: E=Sophos;i="4.44,699,1249250400"; d="scan'208";a="37704064" Received: from furbychan.cocan.org ([80.68.91.176]) by mail3-smtp-sop.national.inria.fr with ESMTP; 07 Nov 2009 13:26:05 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1N6kMd-0006HX-Gt; Sat, 07 Nov 2009 12:25:55 +0000 Date: Sat, 7 Nov 2009 12:25:55 +0000 To: Aaron Bohannon Cc: David Allsopp , caml-list@yquem.inria.fr Subject: Re: [Caml-list] compiling C library wrapper Message-ID: <20091107122555.GA23414@annexia.org> References: <000001ca5e6d$0d6a0aa0$283e1fe0$@metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; byte-code:01 ocamlmklib:01 install':01 tarball:01 ocaml:01 2009:98 wrote:01 caml-list:01 compiling:02 seems:03 library:03 thu:05 install:05 long:06 red:92 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