Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] camlp4 avec ocamlopt
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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

On Wed, Oct 16, 2002 at 01:59:13PM +0200, Stalkern 2 wrote:

> avec la commande
> ocamlopt -I +camlp4 gramlib.cmxa -o camlp4foo.opt
> mais j'obtiens l'erreur
> File "", 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 -o camlp4foo.opt

Sinon, c'est ocamlc qui parse, et alors il y comprend rien parce que
l'instruction EXTEND, il connait pas.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: