caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamldep + preprocessor
@ 2013-10-14 16:16 Kakadu
  0 siblings, 0 replies; only message in thread
From: Kakadu @ 2013-10-14 16:16 UTC (permalink / raw)
  To: Caml List

Hi!

I'm studying ocamlbuild and I can't embed execution of preprocessor
into ocamldep call.

$ ocamlfind ocamldep -ppopt ./pa_checked.cmo -package typeutil
-package logger.syntax -package camlp5 -pp 'camlp5o pa_log.cmo'
-modules test/test001.ml -verbose
+ ocamldep.opt -pp "camlp5o pa_log.cmo" -modules test/test001.ml
Error while loading "pa_log.cmo": file not found in path.

As you see path to package logger.syntax is not added to the final
command. Do you know why? Can you explain how line

archive(syntax, preprocessor) = "pa_log.cmo"

of META file is used for constructing commands?


Kakadu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-14 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14 16:16 [Caml-list] ocamldep + preprocessor Kakadu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).