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
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
> but how to tell ocamldep to preprocess 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