Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ocamlbuild: ml -> cmx & cmi & o ?
@ 2008-10-15 11:00 Josh Berdine
  2008-10-16  8:30 ` [Caml-list] " Romain Bardou
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Berdine @ 2008-10-15 11:00 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Hi,

I observe that ocamlbuild does not build cmx cmi and o files from a ml file (which has no associated mli) directly.  Do others see different behavior?  Instead it builds cmo and cmi from the ml using ocamlc, and then builds the cmx and o files from there using ocamlopt.  Is there a reason I'm missing that ocamlbuild does not have a default rule for this case, using only one call to ocamlopt?  If so, is there an easy way to do this with a plugin?

Cheers,  Josh

[-- Attachment #2: Type: text/html, Size: 4137 bytes --]

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

end of thread, other threads:[~2008-10-16  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-15 11:00 ocamlbuild: ml -> cmx & cmi & o ? Josh Berdine
2008-10-16  8:30 ` [Caml-list] " Romain Bardou
2008-10-16  8:43   ` Nicolas Pouillard
2008-10-16  8:53     ` Romain Bardou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox