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 EE0C4BC0A for ; Tue, 3 Apr 2007 10:16:08 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l338G7WF013653 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 3 Apr 2007 10:16:08 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1HYeBM-00077c-00; Tue, 03 Apr 2007 09:16:00 +0100 Date: Tue, 3 Apr 2007 09:15:59 +0100 To: Pablo Polvorin Cc: Joel Reymont , Caml List Subject: Re: [Caml-list] OCaml and C code in a dynamic library Message-ID: <20070403081558.GA25833@furbychan.cocan.org> References: <2A0CAD37-6509-4FD8-A5C0-D704C7E17E2A@gmail.com> <1ffe809c0703291626g4b385bd2qee9f9b5d72e3b95b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ffe809c0703291626g4b385bd2qee9f9b5d72e3b95b@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at concorde with ID 46120D47.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 wrappers:01 ocaml:01 libcamlrun:01 runtime:01 -fpic:01 libcamlrun:01 bug:01 wrote:01 caml-list:01 caml:02 dynamic:03 dynamic:03 module:03 library:03 On Thu, Mar 29, 2007 at 08:26:59PM -0300, Pablo Polvorin wrote: > i recently make a dynamic library including c++ wrappers to an ocaml > module, to be loaded as a SCA component by apache tuscany. > The first problem was that i have a 64b architecture, and in order to > link against libcamlrun in shared mode, a recompilation of the runtime > with -fPIC flag was necessary. I called the resulting library > libcamlrun_shared, to not confuse it with the original one. Sorry for late reply - I seem to have missed this the first time around. There is an open bug on this issue: http://caml.inria.fr/mantis/view.php?id=3866 Rich. -- Richard Jones Red Hat