From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] camlp4 avec ocamlopt
Date: Wed, 16 Oct 2002 14:09:57 +0200 [thread overview]
Message-ID: <20021016140957.I26090@verdot.inria.fr> (raw)
In-Reply-To: <200210161359.13855.stalkern2@tin.it>; from stalkern2@tin.it on Wed, Oct 16, 2002 at 01:59:13PM +0200
Bonjour,
On Wed, Oct 16, 2002 at 01:59:13PM +0200, Stalkern 2 wrote:
> avec la commande
> ocamlopt -I +camlp4 gramlib.cmxa camlp4foo.ml -o camlp4foo.opt
> mais j'obtiens l'erreur
> File "camlp4foo.ml", line 5, characters 9-10:
> Syntax error
If faut ajouter -pp "camlp4o pa_extend.cmo" dans la commande:
ocamlopt -pp "camlp4o pa_extend.cmo" -I +camlp4 gramlib.cmxa camlp4foo.ml -o camlp4foo.opt
Sinon, c'est ocamlc qui parse, et alors il y comprend rien parce que
l'instruction EXTEND, il connait pas.
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
prev parent reply other threads:[~2002-10-16 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 11:59 Stalkern 2
2002-10-16 12:09 ` Daniel de Rauglaudre [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=20021016140957.I26090@verdot.inria.fr \
--to=daniel.de_rauglaudre@inria.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