Version française
Home     About     Download     Resources     Contact us    
Browse thread
Forced linking and Ocamlbuild
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Forced linking and Ocamlbuild
Hi,

> Suppose you'd like to use ocamldoc to output a dot file to understand
> the dependencies of your program, if you manage to achieve what you
> want to do you'll miss that dependency.
> 
> The more info there is in the source (vs. the build procedure) the
> easier it is to understand the program.

In general I would agree, but in this particular instance the extra
module is just a plugin which registers itself with the main module
via a callback.  It's entirely optional and not a dependence of the
main program -- hence why an automated build system thinks it may
be safely discarded.

Cheers,
Dario Teixeira