caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Michal Moskal <malekith@pld-linux.org>
To: Christian Lindig <lindig@eecs.harvard.edu>,
	Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Modules Order
Date: Thu, 18 Apr 2002 16:31:49 +0200	[thread overview]
Message-ID: <20020418143149.GA8835@ep09.kernel.pl> (raw)
In-Reply-To: <20020418142456.GB9137@lakeland.eecs.harvard.edu>

On Thu, Apr 18, 2002 at 10:24:57AM -0400, Christian Lindig wrote:
> On Thu, Apr 18, 2002 at 04:01:33PM +0200, Warp wrote:
> 
> > In my last post, I was talking about finding the good order for
> > CMO-linking when you only got ocamldep output.  I've think about it,
> > and here's some results, please let me know if there is another/better
> > way.
> 
> I once proposed a sorted output for ocamldep that could be used as the
> linking order. The output would be sorted such that files that come
> early in the link order also come early in the output. A simple sed
> script then could strip away dependencies to get just the file names for
> linking.  I still like the idea but my patch for ocamldep that
> implemented the topological ordering did not make it into the
> distribution.

Maybe just use tsort(1) ? (if you want sed anyway).

-- 
: Michal Moskal :::::::: malekith/at/pld.org.pl :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-04-18 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18 14:01 Warp
2002-04-18 14:24 ` Christian Lindig
2002-04-18 14:31   ` Michal Moskal [this message]
2002-04-18 14:40     ` Christian Lindig
2002-04-18 14:45       ` Michal Moskal
     [not found] ` <15550.55633.886446.494339@paille.inria.fr>
2002-04-18 14:41   ` Warp
2002-04-18 20:55     ` John Max Skaller

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=20020418143149.GA8835@ep09.kernel.pl \
    --to=malekith@pld-linux.org \
    --cc=caml-list@inria.fr \
    --cc=lindig@eecs.harvard.edu \
    /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).