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
[ANN] OCaml Batteries Included, alpha 3
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-02-10 (14:27)
From: Matthieu Dubuget <matthieu.dubuget@g...>
Subject: Re: [Caml-list] Re: ocamlbuild documentation
Jan Kybic a écrit :
> Why do I have to manually set all the paths and library names
> if I have already said "pkg_..." in _tags? Why does not ocamlbuild
> uses ocamlfind to find out automatically? I thought the plugin was
> supposed to do exactly this.

Not sure about the first answer. Anyway, I will be corrected if I'm
wrong ;-)

your _tags file is too restrictive. Your pkg_… are taken into account
only for
.ml and .mli files.
At link stage, there are not used
What if you add "<matvflss.nativ> or" on the first line?
I think the findlib packages are simply not used during the final step?
> By the way, how am I supposed to use the caml-types-show-type feature
> in Emacs Tuareg mode, if ocamlbuild forces all the annot files into
> the _build subdirectory?
caml-type.el which is used by emacs, is aware of this.