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=1.1 required=5.0 tests=AWL,SPF_SOFTFAIL 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 21AA3BC0A for ; Thu, 21 Jun 2007 12:42:50 +0200 (CEST) Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5LAgnPH002943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Jun 2007 12:42:49 +0200 Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id EFB0720856; Thu, 21 Jun 2007 12:42:48 +0200 (CEST) X-AuditID: c1b4fb3c-afe7ebb0000007e1-35-467a562814d8 Received: from esealmw129.eemea.ericsson.se (unknown [153.88.254.124]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id E572E2063A; Thu, 21 Jun 2007 12:42:48 +0200 (CEST) Received: from esealmw115.eemea.ericsson.se ([153.88.200.6]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 21 Jun 2007 12:42:48 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] ocaml dll in an Erlang runtime Date: Thu, 21 Jun 2007 12:42:47 +0200 Message-ID: <6616D98C65DD514BA2E1DDC5F92231550228B7EB@esealmw115.eemea.ericsson.se> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] ocaml dll in an Erlang runtime Thread-Index: Acez76lzC53Yrq4rRUSWRNkeX7q9PAAAOCWw References: <6616D98C65DD514BA2E1DDC5F92231550228B6EB@esealmw115.eemea.ericsson.se><9f09a07a0706210315j1fc1f675yfdadf812c995da7f@mail.gmail.com> From: "Ulf Wiger (TN/EAB)" To: "Joel Reymont" , "Matthieu Dubuget" Cc: X-OriginalArrivalTime: 21 Jun 2007 10:42:48.0659 (UTC) FILETIME=[E9099230:01C7B3F0] X-Brightmail-Tracker: AAAAAA== X-Miltered: at discorde with ID 467A5629.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 erlang:01 runtime:01 statically:01 erlang:01 prototyping:01 libs:01 matthieu:01 dubuget:01 ocaml:01 runtime:01 matthieu:01 dubuget:01 beginner's:01 bug:01 Ok, the problem was building a dynamically linked=20 library? The patch seems to work, but offer some=20 slowdown. You _can_ link drivers statically into the erlang VM, which is how it had to be done in the olden days.=20 For prototyping, this should be perfectly adequate. Today, one normally uses erl_ddll module to dynamically=20 load/unload libs, since it's much more convenient. BR, Ulf W > -----Original Message----- > From: caml-list-bounces@yquem.inria.fr=20 > [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Joel Reymont > Sent: den 21 juni 2007 12:29 > To: Matthieu Dubuget > Cc: caml-list@yquem.inria.fr > Subject: Re: [Caml-list] ocaml dll in an Erlang runtime >=20 > http://tinyurl.com/yrjryv >=20 > On Jun 21, 2007, at 11:15 AM, Matthieu Dubuget wrote: >=20 > > 2007/6/21, Joel Reymont : My biggest issue with=20 > > OCaml is building shared libraries. > > > > I tried to build a shared library for use with Ruby once and failed=20 > > miserably. > > > > Could you please elaborate about this? Maybe not on this thread. >=20 > -- > http://topdog.cc - EasyLanguage to C# translator > http://wagerlabs.com - Blog >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20