Browse thread
Best way to choose an implementation of a lib ?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-30 (09:05) |
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 a1.ml and a2.ml 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) ? Thanks