Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4 help
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] camlp4 help
Am Mittwoch, den 20.07.2005, 09:37 +0200 schrieb Hendrik Tews:
>    #ocamlfind ocamlc -package str -c -pp "camlp4o -I . pa_extend.cmo q_MLast.cmo " -I /usr/lib/ocaml/3.08.3/camlp4 te.ml
>    
> I've never used ocamlfind, but why not
> 
> ocamlfind ocamlc -package str -c -pp "camlp4o pa_extend.cmo q_MLast.cmo " \
>         -I +camlp4 te.ml
> 
> (deleted "-I ." and use "-I +camlp4") ?

ocamlfind has even integrated support for camlp4:

ocamlfind ocamlc -package "str, camlp4.extend, camlp4.quotations" \
                 -syntax camlp4o -c te.ml

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Telefon: 06151/153855                  Telefax: 06151/997714
------------------------------------------------------------