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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id DE255BBAF for ; Sat, 7 Nov 2009 17:34:32 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkBAAsw9UrRVdi/kGdsb2JhbACULIcKPwEBAQEJCQwHEwOvFzKFMyOIRwEDAwWCQYF4BIol X-IronPort-AV: E=Sophos;i="4.44,700,1249250400"; d="scan'208";a="39705412" Received: from mail-px0-f191.google.com ([209.85.216.191]) by mail1-smtp-roc.national.inria.fr with ESMTP; 07 Nov 2009 17:34:32 +0100 Received: by pxi29 with SMTP id 29so1343945pxi.1 for ; Sat, 07 Nov 2009 08:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=UmrksPgUrygDRmeKre1FlxBVWqJZQQ09wptUZSmjeqQ=; b=Gc7Kfg2UMxxk2y3U0aUdj9S41VAbf3EOT/MaldU34GFOtW7t32KeMDCJ1FtbJ0Ucqc Zn9gsOXSQEEUtU8552nkeOWgKnXwz+kxD/2+5HHmnwPcWjtQkkNDx13xwOJnF/AB9sln nnIlg9hgs+2jK09IdFV7+xrica+LzBT7Law8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=nmpIBU18EhldjyLhfPAQ0D5NEPUGQcRhvNzgKsDt3aEbgqz50HPuX/e7tQUZZERa6n jBHx5tchRUgPlU/njQMCddmRO9GGEMH0vpceoTnD9+wUGC3NKwKFePWkZlVi1qT6xmv0 6DOERRO61tJ58npsB9R19LOXkTs/D0d+X1RJw= MIME-Version: 1.0 Sender: aaron678@gmail.com Received: by 10.143.21.35 with SMTP id y35mr560884wfi.210.1257611670856; Sat, 07 Nov 2009 08:34:30 -0800 (PST) In-Reply-To: <20091107122555.GA23414@annexia.org> References: <000001ca5e6d$0d6a0aa0$283e1fe0$@metastack.com> <20091107122555.GA23414@annexia.org> Date: Sat, 7 Nov 2009 11:34:30 -0500 X-Google-Sender-Auth: 6dc545eb8a1a9bef Message-ID: Subject: Re: [Caml-list] compiling C library wrapper From: Aaron Bohannon To: Richard Jones Cc: David Allsopp , caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; makefiles:01 byte-code:01 ocamlmklib:01 install':01 tarball:01 ocaml:01 2009:98 2009:98 wrote:01 wrote:01 upenn:01 caml-list:01 compiling:02 incomplete:03 seems:03 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 wrote: > On Thu, Nov 05, 2009 at 06:38:05PM -0500, Aaron Bohannon wrote: >> Ah! =A0Yes, that's exactly the part I didn't understand and everything >> works fine now. =A0Thank 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 >