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 17977BC0A for ; Mon, 14 May 2007 19:37:15 +0200 (CEST) Received: from chokecherry.srv.cs.cmu.edu (CHOKECHERRY.SRV.CS.CMU.EDU [128.2.185.41]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4EHbDeN027094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 14 May 2007 19:37:14 +0200 Received: from stratocaster.home (c-67-165-53-182.hsd1.pa.comcast.net [67.165.53.182]) (authenticated bits=0) by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id l4EHbASW025555 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 14 May 2007 13:37:10 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.63) (envelope-from ) id 1HneTu-0003nK-A7 for caml-list@yquem.inria.fr; Mon, 14 May 2007 13:37:10 -0400 Date: Mon, 14 May 2007 13:37:10 -0400 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling a library with findlib Message-ID: <20070514173710.GB14249@stratocaster.home> Mail-Followup-To: caml-list@yquem.inria.fr References: <20070514070609.GA3876@galois> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070514070609.GA3876@galois> User-Agent: Mutt/1.5.13 (2006-08-11) From: Eric Cooper X-Miltered: at discorde with ID 46489E49.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; findlib:01 0200,:01 stubs:01 ocamlfind:01 cleanest:98 wrote:01 caml-list:01 compiling:02 compiling:02 library:03 library:03 wondering:09 sebastien:09 targets:11 cooper:14 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. -- Eric Cooper e c c @ c m u . e d u