Google Groups Home
Help | Sign in
can ocamldep order .cmo files?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Nathan Mishra Linger  
View profile
 More options Aug 11 2006, 6:18 pm
Newsgroups: fa.caml
From: "Nathan Mishra Linger" <nathan.mishralin...@gmail.com>
Date: Fri, 11 Aug 2006 22:18:05 UTC
Local: Fri, Aug 11 2006 6:18 pm
Subject: [Caml-list] can ocamldep order .cmo files?
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Till Varoquaux  
View profile
 More options Aug 11 2006, 7:12 pm
Newsgroups: fa.caml
From: "Till Varoquaux" <till.varoqu...@gmail.com>
Date: Fri, 11 Aug 2006 23:12:43 UTC
Local: Fri, Aug 11 2006 7:12 pm
Subject: [Caml-list] Re: can ocamldep order .cmo files?
Try having a look at ocamldsort:
http://dimitri.mutu.net/ocaml.html
Till

On 8/12/06, Nathan Mishra Linger <nathan.mishralin...@gmail.com> wrote:

_______________________________________________
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

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathaniel Gray  
View profile
 More options Aug 15 2006, 2:48 am
Newsgroups: fa.caml
From: "Nathaniel Gray" <n8g...@gmail.com>
Date: Tue, 15 Aug 2006 06:48:10 UTC
Local: Tues, Aug 15 2006 2:48 am
Subject: Re: [Caml-list] can ocamldep order .cmo files?
On 8/11/06, Nathan Mishra Linger <nathan.mishralin...@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.

You might look at the OMake build system[1].  It's a concise and
declarative like make, but with far superior dependency tracking and
support for large projects.  Support for OCaml is particularly strong,
since it's the primary language used for OMake itself and most of the
other projects in our lab.  In particular, it takes care of keeping
the .cmo files in proper order.

Cheers,
-n8

[1] <http://omake.metaprl.org/>
--

>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->

_______________________________________________
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

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google