English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 (15:41)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Forced linking and Ocamlbuild
> (I realise there's always the option of adding a
> dummy reference, but I'm looking for a cleaner solution).

Is it really "unclean" ?

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.