Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
OCaml and C code in a dynamic library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-03 (08:16)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] OCaml and C code in a dynamic library
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:


Richard Jones
Red Hat