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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id D1B9DBC0A for ; Tue, 15 May 2007 11:09:24 +0200 (CEST) Received: from mailironport.loria.fr (mailironport.loria.fr [152.81.144.100]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4F99ODh025624 for ; Tue, 15 May 2007 11:09:24 +0200 Received: from zen.loria.fr (HELO localhost.localdomain) ([152.81.6.135]) by mailironport.loria.fr with ESMTP; 15 May 2007 11:09:24 +0200 X-IronPort-AV: i="4.14,536,1170630000"; d="scan'208"; a="13621021:sNHT14774984" Received: from seb by localhost.localdomain with local (Exim 4.67) (envelope-from ) id 1Hnt26-0002PQ-Kb for caml-list@yquem.inria.fr; Tue, 15 May 2007 11:09:26 +0200 Date: Tue, 15 May 2007 11:09:26 +0200 From: =?iso-8859-1?Q?S=E9bastien?= Hinderer To: caml-list@yquem.inria.fr Subject: Re: Compiling a library with findlib Message-ID: <20070515090926.GA9258@zen> Mail-Followup-To: caml-list@yquem.inria.fr References: <20070514070609.GA3876@galois> <20070514173710.GB14249@stratocaster.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070514173710.GB14249@stratocaster.home> X-Miltered: at discorde with ID 464978C4.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 findlib:01 0200,:01 stubs:01 ocamlfind:01 cheers:01 cleanest:98 wrote:01 compiling:02 compiling:02 library:03 library:03 i'd:05 wondering:09 sebastien:09 Hi, Eric Cooper : > On Mon, May 14, 2007 at 09:06:09AM +0200, Sébastien Hinderer wrote: > > I am wondering what would be cleanest way of compiling a library > > including C stubs using the ocamlfind program. > > If you use the OCamlMakefile, the "byte-code-library" and > "native-code-library" targets take care of this very painlessly. As I said, I'd prefer not to use OCamlMakefile if possible... Does such a choice look unwise to you all ? Cheers, Sébastien.