caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jake Donham <jake@donham.org>
To: Serge Leblanc <serge.leblanc@orange.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Ocamlfind with camlp4r.
Date: Sat, 18 Jul 2009 09:35:52 -0700	[thread overview]
Message-ID: <c7e4e9f0907180935l7f3eaa18va1b2a26d3b9f000d@mail.gmail.com> (raw)
In-Reply-To: <1247872689.4422.135.camel@serge2>

On Fri, Jul 17, 2009 at 4:18 PM, Serge Leblanc<serge.leblanc@orange.fr> wrote:
> ocamlfind ocamlc -o test -package "camlp4" -linkpkg  -syntax "camlp4r" ./test.ml

It's useful to add the -verbose option (after ocamlc) to see what
options are passed to camlp4. In this case it's getting the -rp
option, which is apparently
(http://brion.inria.fr/gallium/index.php/Using_Camlp4) the extension
for writing parsers in the revised syntax. Not sure why that breaks
your program, or why Ocamlfind includes it with -syntax camlp4r.

Jake


      parent reply	other threads:[~2009-07-18 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17 23:18 Serge Leblanc
2009-07-18  9:10 ` [Caml-list] " blue storm
2009-07-18 16:35 ` Jake Donham [this message]

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=c7e4e9f0907180935l7f3eaa18va1b2a26d3b9f000d@mail.gmail.com \
    --to=jake@donham.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=serge.leblanc@orange.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).