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
Best way to choose an implementation of a lib ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <christophe.raffalli@u...>
Subject: Best way to choose an implementation of a lib ?

Let say I want two distribute two(or more) implementations of a library
with the .mli for all ...

Is there a way to choose the implementation at link time ?

Lets say I have a.mli compiled to a.cmi and and

I think (did not test) that putting the cmos in separate directory as
a1/a.cmo and a2/a.cmo should allow the choice using the -I option ...

Any better solution (no dynlink, I want also native code) ?