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
Ocamlfind with camlp4r.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] Ocamlfind with camlp4r.
On Fri, Jul 17, 2009 at 4:18 PM, Serge Leblanc<> wrote:
> ocamlfind ocamlc -o test -package "camlp4" -linkpkg  -syntax "camlp4r" ./

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
( the extension
for writing parsers in the revised syntax. Not sure why that breaks
your program, or why Ocamlfind includes it with -syntax camlp4r.