caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Baptiste Rouquier <jean-baptiste.rouquier@ens-lyon.fr>
To: nathan.mishralinger@gmail.com, caml-list@inria.fr
Subject: Re: can ocamldep order .cmo files?
Date: Wed, 30 Aug 2006 20:03:57 +0200	[thread overview]
Message-ID: <44F5D30D.2090206@ens-lyon.fr> (raw)

For a tiny script (sed+tsort) that does only this, you might want to have a look at
http://jb.rouquier.free.fr/programmation/ocamldep2moduleList.zip

On 8/12/06, Nathan Mishra Linger <please don't quote email addresses> wrote:
> I'm a new OCaml user and quite a fan so far (most of my functional
> programming experience has been in Haskell up to this point).
>
> I know that .cmo arguments to ocamlc must be in order of dependency.
> I also know that ocamldep can detect such dependencies and spit them
> out in a format that makefiles can include.
>
> But can ocamldep spit out the dependency ordering of a list of .cmo
> files in such a way that these can be input to ocamlc?  If not, it
> seems like it would be a useful thing for ocamldep to be able to do
> this.  Or do people have other solutions to this problem.
>
> Nathan


             reply	other threads:[~2006-08-30 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 18:03 Jean-Baptiste Rouquier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-11 22:15 Nathan Mishra Linger
2006-08-11 23:09 ` Till Varoquaux

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=44F5D30D.2090206@ens-lyon.fr \
    --to=jean-baptiste.rouquier@ens-lyon.fr \
    --cc=caml-list@inria.fr \
    --cc=nathan.mishralinger@gmail.com \
    /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).