From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 281FCBC6B for ; Wed, 23 May 2007 16:24:07 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4NEO6Xm007761 for ; Wed, 23 May 2007 16:24:06 +0200 Received: by nz-out-0506.google.com with SMTP id i11so188888nzi for ; Wed, 23 May 2007 07:24:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tdCLXfvj7MnqFkH1zJMlZPZYNKu0RuKdhb4x/eOUDAn+ENkpGdR1PiJBw2Zl65K8ONVbvmL5OeMK7TsUL1y6gs+5wo82U686IlWgnfzUN0U8FOyYLu7vtEHF0ZoXHKMbZHjS+qyh0UNeUCbbv7Gj/VUw8Me7qQKUz5QIuHqn3cA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IYoCYWABNNHrc4myXyybVSYDm4swVXKfcZj9GVzaBjNmYuUS6c4M8UinPjlFXKO87vic0BhmG9T47QOqdOlqrQ2i4+F+oyOCF0ZehFhrflzz49pjKL/Be9IhwSe+ixBvizWsMKGwkiaRefbK6y7+YXjPLFRgzV4jq76kbuISY8I= Received: by 10.114.73.1 with SMTP id v1mr317053waa.1179930245578; Wed, 23 May 2007 07:24:05 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Wed, 23 May 2007 07:24:05 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 16:24:05 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] Pairing ocamlbuild with ocamlfind Cc: "OCaml List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-j-chkmail-Score: MSGID : 46544E86.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46544E86.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlfind:01 ocamlc:01 ocamlfind:01 -ocamlc:01 ocamlc:01 flags:01 -package:01 23,:98 2007,:98 wrote:01 wrote:01 caml-list:01 seems:03 classical:03 library:03 On 5/23/07, Joel Reymont wrote: > > On May 23, 2007, at 3:07 PM, Nicolas Pouillard wrote: > > > You can change the ocamlc to use ocamlfind command with -ocamlc > > "ocamlfind ocamlc" and then inject flags like -package ... with > > classical ocamlbuild flag declarations. > > I apologize if I wasn't being clear. I'm trying to use ocamlfind with > ocamlbuild to install a library. > Hum, it seems that you just need to add some rules. There is a plugin example: http://gallium.inria.fr/~pouillar/ocamlbuild/plugin_example.html -- Nicolas Pouillard