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 B110ABC0A for ; Wed, 23 May 2007 16:07:39 +0200 (CEST) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4NE7d29003615 for ; Wed, 23 May 2007 16:07:39 +0200 Received: by ik-out-1112.google.com with SMTP id b35so114590ika for ; Wed, 23 May 2007 07:07:39 -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=P08ft8wO/mwkgE/evp35XTCZ6vqnJjw39DMom+bA9fgxBrNpodADXOfHv++2s77YJjPFsTZot6+spw0WmM81f1zManCiVmIHENMriYGmZjnhSkIOLuhjyQhyf5Zn6OYXmwW26cHi3xeQyMyFUEqTuWtJ6PSMNn03BaxrerknqSc= 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=R1/d2CNfGvVX4saRf0KunGpPmiDeOIn+Cd5m16G371N144GuQ15QUh54lm975C5e+4xdA5qsvrdisHbR6+u2C3yXlGlk28m/6xfjzIg4CwDnuhhv3oCyGBWkjIky88zq+8SYO7HcmZCL//V4UsfRTwdfoF/UC5UbA8CXTf2olAA= Received: by 10.114.174.2 with SMTP id w2mr288484wae.1179929258119; Wed, 23 May 2007 07:07:38 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Wed, 23 May 2007 07:07:38 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 16:07:38 +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 : 46544AAB.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46544AAB.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlfind:01 ocamlfind:01 ocamlc:01 -ocamlc:01 ocamlc:01 flags:01 -package:01 wrote:01 caml-list:01 pair:01 classical:03 library:03 library:03 declarations:04 install:05 On 5/23/07, Joel Reymont wrote: > What is the easiest way to pair ocamlbuild with ocamlfind to install > a library? > > ocamlfind needs to be involved with the library name which ocamlbuild > doesn't know and all the built files that ocamlbuild does now about. > You can change the ocamlc to use ocamlfind command with -ocamlc "ocamlfind ocamlc" and then inject flags like -package ... with classical ocamlbuild flag declarations. -- Nicolas Pouillard