From: Alain Frisch <Alain.Frisch@inria.fr>
To: Martin Jambon <martin_jambon@emailuser.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlfind + ocamldep + camlp4?
Date: Tue, 06 Dec 2005 09:00:52 +0100 [thread overview]
Message-ID: <43954534.4060301@inria.fr> (raw)
In-Reply-To: <Pine.LNX.4.63.0512051339110.7165@munge>
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?
Doesn't
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
next prev parent reply other threads:[~2005-12-06 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 22:08 Martin Jambon
2005-12-06 8:00 ` Alain Frisch [this message]
2005-12-06 8:10 ` [Caml-list] " Gerd Stolpmann
2005-12-06 21:33 ` Martin Jambon
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=43954534.4060301@inria.fr \
--to=alain.frisch@inria.fr \
--cc=caml-list@inria.fr \
--cc=martin_jambon@emailuser.net \
/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