Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4 question: Mixing a printer and Ast.fold
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] camlp4 question: Mixing a printer and Ast.fold
I'm trying to link the camlp4 module into a binary, by doing:

  ocamlc -I +camlp4 camlp4lib.cma Camlp4Bin.cmo pr_gettext.cmo \
    -o ocaml-xgettext

but my binary always prints out:

  Failure: "No implementation printer"

Apparently I need to somehow register the printer as well?  I can't
work out how to do that though.

As an aside, is mkcamlp4 supposed to do anything?  For me it always
prints this error:

  Cannot find file Camlp4.cma

Rich.

-- 
Richard Jones
Red Hat