English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
compiling ocaml into a shared object
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-14 (13:24)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] compiling ocaml into a shared object
On Thu, Dec 14, 2006 at 02:10:31PM +0100, Hendrik Tews wrote:
> could somebody tell me how to compile ocaml sources into a shared
> object that can be loaded with dlopen? The following message
> seems to tell me that this is possible:

It's tricky, but I managed to compile the bytecode interpreter and
bytecode into a shared object.  See the source for mod_caml.so:

(actually there's a much newer version in CVS, but I don't think the
linking issue changed at all).

For AMD64, see also:



Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Internet Marketing and AdWords courses - http://merjis.com/courses - NEW!
Merjis blog - http://blog.merjis.com - NEW!