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
ocamlfind + ocamldep + camlp4?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-06 (08:06)
From: Alain Frisch <Alain.Frisch@i...>
Subject: Re: [Caml-list] ocamlfind + ocamldep + camlp4?
Martin Jambon wrote:
> Hello,
> I would like to know if there is a way of using ocamlfind as front-end
> to camlp4o alone. Let me explain: the following works nicely since it
> will locate the pa_someext package and load its dependencies:
>   ocamlfind ocamlc -c -syntax camlp4o -package pa_someext file.ml
> but how to tell ocamldep to preprocess file.ml using camlp4o and the
> wanted syntax modules, without listing all the include directories and
> dependencies?


ocamlfind ocamldep -syntax camlp4o -package pa_someext ...

do what you want?  Is your question about using a different set of
extensions for each file?

-- Alain