Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2010-04-05 (16:02)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Forced linking and Ocamlbuild

> 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.

Dario Teixeira