[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Daniel de Rauglaudre <daniel.de_rauglaudre@i...> |
| Subject: | Re: [Caml-list] camlp4 avec ocamlopt |
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