From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9A602BBAF for ; Wed, 2 Dec 2009 17:51:19 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArIDAM0pFktQRFuwWWdsb2JhbACcBwEUFwSIZ7JfhDEEgWk X-IronPort-AV: E=Sophos;i="4.47,329,1257116400"; d="scan'208";a="37857526" Received: from furbychan.cocan.org ([80.68.91.176]) by mail2-smtp-roc.national.inria.fr with ESMTP; 02 Dec 2009 17:51:19 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1NFsQ8-00023m-52; Wed, 02 Dec 2009 16:51:16 +0000 Date: Wed, 2 Dec 2009 16:51:16 +0000 To: Joost Yervante Damad Cc: caml-list@inria.fr, toolslive@yahoo.com Subject: Re: [Caml-list] Embedding the ocaml runtime in a shared library on amd64/x86_64 Message-ID: <20091202165116.GA7786@annexia.org> References: <200912021333.11599.joost@damad.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912021333.11599.joost@damad.be> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; ocaml:01 runtime:01 0100,:01 -fpic:01 libcamlrun:01 bug:01 2009:98 wrote:01 caml-list:01 caml:02 compiling:02 usable:02 embedding:03 embedding:03 library:03 On Wed, Dec 02, 2009 at 01:33:11PM +0100, Joost Yervante Damad wrote: > I think compiling with -fPIC by default on the amd64/x86_64 arch > would be a good start to making it more usable for embedding. I think this is also a very good idea. We went through this already with libcamlrun.a: http://caml.inria.fr/mantis/view.php?id=3866 So I think you should open a similar bug. Rich. -- Richard Jones Red Hat