caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Best way to choose an implementation of a lib ?
@ 2005-11-30  9:05 Christophe Raffalli
  2005-11-30 12:19 ` [Caml-list] " Jacques Garrigue
  0 siblings, 1 reply; 17+ messages in thread
From: Christophe Raffalli @ 2005-11-30  9:05 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]


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




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 894 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-12-02  3:29 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30  9:05 Best way to choose an implementation of a lib ? Christophe Raffalli
2005-11-30 12:19 ` [Caml-list] " Jacques Garrigue
2005-11-30 14:38   ` How to compile different implementations of the same lib Daniel Bünzli
2005-11-30 16:09     ` [Caml-list] " Daniel Bünzli
2005-12-01  1:07       ` Jacques Garrigue
2005-12-01  1:53         ` malc
2005-12-01 17:03         ` Christophe Raffalli
2005-12-01 17:54           ` skaller
2005-12-01 20:09             ` Richard Jones
2005-12-01 23:47               ` skaller
2005-12-02  3:29               ` Jacques Garrigue
2005-12-01 21:33             ` Christophe Raffalli
2005-12-02  3:06               ` Jacques Garrigue
2005-11-30 16:24   ` how to detect .cmx incompatibility Stefano Zacchiroli
2005-11-30 19:48   ` [Caml-list] Best way to choose an implementation of a lib ? Eric Cooper
2005-12-01 17:05     ` Christophe Raffalli
2005-12-01 17:31       ` Eric Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).