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=AWL autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 4B52CBC6B for ; Mon, 7 Jan 2008 14:03:25 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAANOxgUdQDPIBhWdsb2JhbACQFAEBAQgEBg8TB5Zv X-IronPort-AV: E=Sophos;i="4.24,253,1196636400"; d="scan'208";a="6361626" Received: from smtp19.orange.fr ([80.12.242.1]) by mail1-smtp-roc.national.inria.fr with ESMTP; 07 Jan 2008 14:03:24 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1901.orange.fr (SMTP Server) with ESMTP id A1A9D54000A7 for ; Mon, 7 Jan 2008 14:03:24 +0100 (CET) Received: from [192.168.1.59] (APuteaux-154-1-66-105.w81-249.abo.wanadoo.fr [81.249.49.105]) by mwinf1901.orange.fr (SMTP Server) with ESMTP id 7BFD454000A6; Mon, 7 Jan 2008 14:03:24 +0100 (CET) X-ME-UUID: 20080107130324507.7BFD454000A6@mwinf1901.orange.fr Message-ID: <4782231A.3050805@frisch.fr> Date: Mon, 07 Jan 2008 14:03:22 +0100 From: Alain Frisch User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Jon Harrop , Caml mailing list Subject: Re: [Caml-list] Shared run-time DLLs for commerce References: <200801071130.29025.jon@ffconsultancy.com> In-Reply-To: <200801071130.29025.jon@ffconsultancy.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; frisch:01 frisch:01 run-time:01 run-time:01 ocaml:01 ocaml:01 lacks:01 cmxa:01 cmi:01 smoke:98 wrote:01 caml-list:01 alain:01 alain:01 dlls:01 Jon Harrop wrote: > I would like to commercialize packages like Smoke in compiled form as a shared > run-time DLL for other OCaml programmers to use as a library. However, OCaml > currently lacks this functionality. Which functionality do you need, exactly? What's the advantage of shipping a shared library instead of a static one (.cmxa/.a/*.cmi)? The .cmxs files generated by natdynlink are actually dynamic libraries. Other modules that rely on such a library will also need to be dynlinked. -- Alain