Version française
Home     About     Download     Resources     Contact us    
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: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] Best way to choose an implementation of a lib ?
On Thu, Dec 01, 2005 at 06:05:12PM +0100, Christophe Raffalli wrote:
> Eric Cooper a crit :
> > And yet another is to use symbolic links, for example
> >     a.ml -> a_optimized_impl.ml
> > or
> >     a.ml -> a_reference_impl.ml
> > 
> 
> This is not reasonable for a library. You can not ask the user to
> change symbolic link in /usr/lib/ocaml ...

The original poster said he wanted to distribute two versions of a
library with the same interface (.mli).  This is just a way of
*building* those two different library versions, only the binaries of
which would get distributed.

-- 
Eric Cooper             e c c @ c m u . e d u