From: Martin Jambon <martin_jambon@emailuser.net>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlopt -a and module order
Date: Tue, 24 Jan 2006 14:03:57 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.63.0601241402460.13406@munge> (raw)
In-Reply-To: <87fynd737p.fsf@mid.deneb.enyo.de>
On Tue, 24 Jan 2006, Florian Weimer wrote:
> 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?
ocamldsort can do that.
Martin
--
Martin Jambon, PhD
http://martin.jambon.free.fr
Visit http://wikiomics.org, the Bioinformatics Howto Wiki
next prev parent reply other threads:[~2006-01-24 22:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 20:58 Florian Weimer
2006-01-24 22:03 ` Martin Jambon [this message]
2006-01-25 20:12 ` [Caml-list] " 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=Pine.LNX.4.63.0601241402460.13406@munge \
--to=martin_jambon@emailuser.net \
--cc=caml-list@yquem.inria.fr \
--cc=fw@deneb.enyo.de \
/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