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
Native Module Linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

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

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 ). 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 ?

Nicolas Cannasse