caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kakadu <kakadu.hafanana@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] ocamldep + preprocessor
Date: Mon, 14 Oct 2013 20:16:07 +0400	[thread overview]
Message-ID: <CAGmVoG20THtCvY+OpDd4VJ53rEMRm72u_yxtqQfFnf+gVRhVmw@mail.gmail.com> (raw)

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

                 reply	other threads:[~2013-10-14 16:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGmVoG20THtCvY+OpDd4VJ53rEMRm72u_yxtqQfFnf+gVRhVmw@mail.gmail.com \
    --to=kakadu.hafanana@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).