caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* building executables with camlp4
@ 2007-06-13 10:47 Jeremy Yallop
  2007-06-13 12:23 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Yallop @ 2007-06-13 10:47 UTC (permalink / raw)
  To: caml-list

With the 3.09 version of camlp4 I could build an executable for my 
extension by linking against various .cmx files.  Is it possible to do 
something similar with the new camlp4 in 3.10?  I've tried linking with

    camlp4lib.cmxa
    Camlp4Parsers/Camlp4OCamlRevisedParser.cmx
    Camlp4Parsers/Camlp4OCamlParser.cmx
    Camlp4Printers/Camlp4OCamlRevisedPrinter.cmx
    Camlp4Printers/Camlp4OCamlPrinter.cmx

which results in an executable that fails with Not_found when run, 
apparently due to a failure to delete a rule from the grammar.  Building 
a set of bytecode (.cmo) files and loading them with camlp4o works as 
expected.

In case it makes things simpler I'm using OCamlMakefile,

Jeremy.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-06-13 14:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-13 10:47 building executables with camlp4 Jeremy Yallop
2007-06-13 12:23 ` [Caml-list] " Nicolas Pouillard
2007-06-13 13:12   ` Jeremy Yallop
2007-06-13 13:27     ` Nicolas Pouillard
2007-06-13 13:27       ` Jeremy Yallop
2007-06-13 13:45         ` Nicolas Pouillard
2007-06-13 14:07           ` Jeremy Yallop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).