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 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id E9122BC0A for ; Thu, 21 Jun 2007 14:06:21 +0200 (CEST) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5LC6Lj7011432 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 21 Jun 2007 14:06:21 +0200 Received: from [80.229.56.224] (helo=beast.local) by ptb-relay01.plus.net with esmtp (Exim) id 1I1LQa-00084t-TC for caml-list@yquem.inria.fr; Thu, 21 Jun 2007 13:06:21 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocaml dll in an Erlang runtime Date: Thu, 21 Jun 2007 13:00:24 +0100 User-Agent: KMail/1.9.7 References: <6616D98C65DD514BA2E1DDC5F92231550228B6EB@esealmw115.eemea.ericsson.se> <9f09a07a0706210315j1fc1f675yfdadf812c995da7f@mail.gmail.com> In-Reply-To: <9f09a07a0706210315j1fc1f675yfdadf812c995da7f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706211300.24624.jon@ffconsultancy.com> X-Miltered: at concorde with ID 467A69BD.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 erlang:01 runtime:01 matthieu:01 dubuget:01 ocaml:01 frog:98 wrote:01 compile:01 caml-list:01 dll:03 dll:03 library:03 thread:05 shared:05 On Thursday 21 June 2007 11:15:39 Matthieu Dubuget wrote: > 2007/6/21, Joel Reymont : > > I tried to build a shared library for use with Ruby once and failed > > miserably. > > Could you please elaborate about this? Maybe not on this thread. > > I ask this, because almost all my OCaml code is use as shared libraries... I think a lot of people (myself included) would benefit enormously if you could explain in words of one syllable exactly how you can compile an OCaml program into a DLL (.so on Linux) and call it from C. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e