From: Francois Berenger <berenger@riken.jp>
To: caml-list@yquem.inria.fr
Cc: ocaml_beginners@yahoogroups.com
Subject: [Caml-list] OASIS help : adding -pp camlp4of and camlp4.gramlib to the compilation flags
Date: Tue, 17 Jan 2012 11:51:32 +0900 [thread overview]
Message-ID: <4F14E234.7000407@riken.jp> (raw)
Hello,
I'd like to preprocess some source files.
Gabriel Scherer advised me to use the options
mentioned in the title of this e-mail.
What should I modify in an oasis project in order to
add these compilation flags?
I guess something should be added to the _oasis file.
I did not find anything in the oasis documentation about
using a preprocessor.
Here is an example build command that works, issued
by a Makefile for the moment:
ocamlfind ocamlopt -package camlp4.gramlib,batteries -linkpkg -o
test_logger -annot -g -pp camlp4of logger.ml test_logger.ml
Thanks a lot,
Francois.
next reply other threads:[~2012-01-17 2:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-17 2:51 Francois Berenger [this message]
2012-01-17 7:48 ` [Caml-list] " Francois Berenger
2012-01-17 8:32 ` Jérémie Dimino
2012-01-17 9:25 ` Francois Berenger
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=4F14E234.7000407@riken.jp \
--to=berenger@riken.jp \
--cc=caml-list@yquem.inria.fr \
--cc=ocaml_beginners@yahoogroups.com \
/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