caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: can ocamldep order .cmo files?
@ 2006-08-30 18:03 Jean-Baptiste Rouquier
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Baptiste Rouquier @ 2006-08-30 18:03 UTC (permalink / raw)
  To: nathan.mishralinger, caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can ocamldep order .cmo files?
  2006-08-11 22:15 Nathan Mishra Linger
@ 2006-08-11 23:09 ` Till Varoquaux
  0 siblings, 0 replies; 3+ messages in thread
From: Till Varoquaux @ 2006-08-11 23:09 UTC (permalink / raw)
  To: Nathan Mishra Linger; +Cc: caml-list

Try having a look at ocamldsort:
http://dimitri.mutu.net/ocaml.html
Till

On 8/12/06, Nathan Mishra Linger <nathan.mishralinger@gmail.com> 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
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* can ocamldep order .cmo files?
@ 2006-08-11 22:15 Nathan Mishra Linger
  2006-08-11 23:09 ` Till Varoquaux
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Mishra Linger @ 2006-08-11 22:15 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-30 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 18:03 can ocamldep order .cmo files? Jean-Baptiste Rouquier
  -- strict thread matches above, loose matches on Subject: below --
2006-08-11 22:15 Nathan Mishra Linger
2006-08-11 23:09 ` Till Varoquaux

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).