Le Thu, 8 Mar 2012 17:36:46 +0100,
Daniel Bünzli <daniel.buen...@erratique.ch> a écrit :

> > Note that in general it is better to install a cma/cmxa, even if
> > your library has only one module. The reason is that when building
> > an executable, cmo/cmx files passed on the command line are always
> > linked, while unused units of cma/cmxa files are not (unless you
> > specify -linkall).
> 
> Okay, but is there a reasonable case (beyond sloppy dependency
> tracking) where you'd like to link against a *single module* library
> while not wanting to use it ?  

This may happen if you are using a subset of a multi-modules library
which use a single-module one.

-- 
Jérémie


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to