caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] output-obj rule in ocamlbuild
@ 2011-08-25 14:09 Anil Madhavapeddy
  2011-08-25 15:30 ` Anil Madhavapeddy
  0 siblings, 1 reply; 2+ messages in thread
From: Anil Madhavapeddy @ 2011-08-25 14:09 UTC (permalink / raw)
  To: caml-list

Is there a built-in rule in ocamlbuild to generate the -output-obj output instead of a direct link?

I note there are these built-in tags in the ocamlbuild source:

ocaml_specific.ml:flag ["ocaml"; "link"; "native"; "output_obj"] (A"-output-obj");;
ocaml_specific.ml:flag ["ocaml"; "link"; "byte"; "output_obj"] (A"-output-obj");;

...but I can't find a built-in target that uses these tags. Is a custom rule in myocamlbuild.ml needed here, or should I do something in my _tags file?

cheers,
Anil

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

end of thread, other threads:[~2011-08-25 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25 14:09 [Caml-list] output-obj rule in ocamlbuild Anil Madhavapeddy
2011-08-25 15:30 ` Anil Madhavapeddy

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).