From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q28GA9lr027835 for ; Thu, 8 Mar 2012 17:10:09 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEFAATZWE/VuiYS/2dsb2JhbABChGxWr2iBB4IKAQEEAQwXVgULCQIaAiYCAlcGE4gFCax+ikmBL44pgRYElUSQGYJk X-IronPort-AV: E=Sophos;i="4.73,552,1325458800"; d="scan'208";a="148280170" Received: from solaria.dimino.org ([213.186.38.18]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 08 Mar 2012 17:10:04 +0100 Received: from caladan (caladan.dim [10.200.42.14]) by solaria.dimino.org (Postfix) with ESMTP id A842580053; Thu, 8 Mar 2012 17:10:03 +0100 (CET) Received: from caladan.esterel-technologies.com (localhost [127.0.0.1]) by caladan (Postfix) with ESMTP id 2211CFF834; Thu, 8 Mar 2012 17:09:48 +0100 (CET) Date: Thu, 8 Mar 2012 17:09:47 +0100 From: =?UTF-8?B?SsOpcsOpbWll?= Dimino To: Daniel =?UTF-8?B?QsO8bnpsaQ==?= Cc: caml-list Message-ID: <20120308170947.4847d3b3@caladan.esterel-technologies.com> In-Reply-To: <1991A512A37E49ACA5AAD30A38D628BF@erratique.ch> References: <1991A512A37E49ACA5AAD30A38D628BF@erratique.ch> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q28GA9lr027835 Subject: Re: [Caml-list] oasis packaging questions Le Thu, 8 Mar 2012 01:26:38 +0100, Daniel Bünzli a écrit : > 1) All the packages I distribute are made of a single module. For now > these were just installed as .cmo .cmx .cmxs. Now it seems oasis > forces me to create a .mllib even if I have only one module. Is that > correct ? Note that in general it is better to install a cma/cmxa, even if your library has only one module. The reason is that when building an executable, cmo/cmx files passed on the command line are always linked, while unused units of cma/cmxa files are not (unless you specify -linkall). -- Jérémie