Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Anil Madhavapeddy <anil@recoil.org>
To: caml-list@yquem.inria.fr
Subject: [Caml-list] output-obj rule in ocamlbuild
Date: Thu, 25 Aug 2011 15:09:04 +0100	[thread overview]
Message-ID: <DDD109F5-B55E-48C9-A1E4-9AD11A7AA5A5@recoil.org> (raw)

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

             reply	other threads:[~2011-08-25 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 14:09 Anil Madhavapeddy [this message]
2011-08-25 15:30 ` Anil Madhavapeddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DDD109F5-B55E-48C9-A1E4-9AD11A7AA5A5@recoil.org \
    --to=anil@recoil.org \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox