Version française
Home     About     Download     Resources     Contact us    
Browse thread
Native Module Linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Cannasse <warplayer@f...>
Subject: Native Module Linking
Hi,

I have a project that is structured like this :
- a library with one Entry module and several Plugins
- an application using the library.

In the application I'm doing the following :

open Entry;
open Plugin1;
open Plugin2;
....
(* use "Entry" *)

Plugins are using Entry, and application is only activating plugins with
"open" (in order to ensure they're linked).
On windows everything works well but looks like on Linux some configurations
are not linking the plugins (at least in opt mod : ocamlopt myLib.cmxa
myApp.ml ). And I can't use the -linkall because I'm using other libraries
that I want to partially link . Is this a bug, a feature, or a
misunderstanding ?

Regards,
Nicolas Cannasse