caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@inria.fr
Subject: [Caml-list] Telling Ocamlbuild to link seemingly unreferenced modules
Date: Fri, 6 May 2011 07:34:15 -0700 (PDT)	[thread overview]
Message-ID: <398504.86739.qm@web111515.mail.gq1.yahoo.com> (raw)

Hi,

I have a couple of plugin modules (say, "Foo.ml" and "Bar.ml") which become
known to the main programme solely because they register themselves upon
initialisation.  However, because there is no implicit dependency between
the main programme and these plugins, when compiling with Ocamlbuild they
are not linked in.  So what's the cleanest way of telling Ocamlbuild that
these plugins should also be compiled and linked together with the main
programme?

Thanks in advance!
Dario



             reply	other threads:[~2011-05-06 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 14:34 Dario Teixeira [this message]
2011-05-06 15:38 ` Gabriel Scherer
2011-05-06 17:09 Dario Teixeira
2011-05-06 19:34 Dario Teixeira

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=398504.86739.qm@web111515.mail.gq1.yahoo.com \
    --to=darioteixeira@yahoo.com \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).