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
Native dynlink on 3.11: a request for packagers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-11-22 (18:40)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Native dynlink on 3.11: a request for packagers
On 11/22/2008 4:00 PM, Daniel Bünzli wrote:
> Thus just generating a cmxs for a module won't allow you to use it
> dynamically. You'll need support from the module no ?

Well, if your program is only composed of .cmxs plugins (libraries + 
your own program), then you can have a generic driver that simply load a 
list of .cmxs files specified e.g. on its command line.

The point is that a plugin can refer to symbols defined in other plugins 
already dynlinked.

-- Alain