* syntax extensions using batteries
@ 2009-05-20 19:07 Tiphaine Turpin
0 siblings, 0 replies; only message in thread
From: Tiphaine Turpin @ 2009-05-20 19:07 UTC (permalink / raw)
To: caml-list
Hi,
I can't use the syntax extension I just wrote : I don't know how to make
camlp4 load a module which depends on batteries.
First attempt: if I do something like
ocamlfind batteries/ocamlc -pp "camlp4o pa_prolog.cmo"
then pa_prolog is never loaded.
Second attempt: if I try
ocamlfind batteries/ocamlc -ppopt pa_prolog.cmo
then I have to also add -ppopt batteries.cma, then sexplib.cma, which
fails due to unavailable native functions.
However, the extension works fine in the toplevel (ocamlfind
batteries/ocaml).
Any Ideas ? How can I achieve "batteries/camlp4" ?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-20 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-20 19:07 syntax extensions using batteries Tiphaine Turpin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox