From: Michael Hicks <mwh@dsl.cis.upenn.edu>
To: Christophe.Raffalli@univ-savoie.fr (Christophe Raffalli)
Cc: caml-list@inria.fr
Subject: Re: pb with ocamldep
Date: Wed, 7 Jun 2000 14:48:28 -0400 (EDT) [thread overview]
Message-ID: <200006071848.OAA23215@codex.cis.upenn.edu> (raw)
In-Reply-To: <393E5A54.508A3908@univ-savoie.fr> from "Christophe Raffalli" at Jun 7, 2000 04:21:08 pm
> It would be nice ocamldep coud also accept the -pp option to call a
> preprocessor.
>
> I have some problems with files that are not syntacticaly correct before
> preprocessing !
> So I can not use ocamldep on these files and this is annoying.
I had the same problem with our active networking software, in which we use
the camlp4 ifdef syntax. Therefore, to do dependency generation, we use
camlp4 with pr_depend (provided with the distribution), e.g.:
camlp4 pa_ifdef.cmo pr_depend.cmo -- $(INCLUDES) $(IFDEF_FLAGS) file1 file2
...
If you aren't using camlp4 for your preprocessor, then your suggestion above
would be more appropriate.
Mike
--
Michael Hicks
Ph.D. Candidate, the University of Pennsylvania
http://www.cis.upenn.edu/~mwh mailto://mwh@dsl.cis.upenn.edu
"In essential things, unity; in doubtful things, liberty; in all things,
charity."
next prev parent reply other threads:[~2000-06-08 20:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-07 14:21 Christophe Raffalli
2000-06-07 18:48 ` Michael Hicks [this message]
2000-06-07 22:24 ` Max Skaller
2000-06-08 8:57 ` Sven LUTHER
2000-06-08 12:01 ` Christophe Raffalli
2000-06-08 13:01 ` Daniel de Rauglaudre
2000-06-08 10:25 Gerard Huet
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=200006071848.OAA23215@codex.cis.upenn.edu \
--to=mwh@dsl.cis.upenn.edu \
--cc=Christophe.Raffalli@univ-savoie.fr \
--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).