From: Florian Weimer <fw@deneb.enyo.de>
To: caml-list@yquem.inria.fr
Subject: ocamlopt -a and module order
Date: Tue, 24 Jan 2006 21:58:34 +0100 [thread overview]
Message-ID: <87fynd737p.fsf@mid.deneb.enyo.de> (raw)
When creating libraries using ocamlopt -a, it seems that it is
necessary to give the modules on the command line in such an order
that all inter-module references are to modules which precede on the
command line. Otherwise, I get link-time errors when using the
library.
In my case, there are no cyclic module references, and there is no
requirement that the modules are initialized in a particular order
(beyond that what is implied by explicit references), so a simple
topological sort could come up with a proper ordering. Is there some
way to have ocamlopt do this for me?
next reply other threads:[~2006-01-24 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 20:58 Florian Weimer [this message]
2006-01-24 22:03 ` [Caml-list] " Martin Jambon
2006-01-25 20:12 ` Florian Weimer
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=87fynd737p.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--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