From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 2C828BC4E for ; Sat, 12 Aug 2006 00:15:31 +0200 (CEST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k7BMFUAq010289 for ; Sat, 12 Aug 2006 00:15:30 +0200 Received: by py-out-1112.google.com with SMTP id t32so273988pyc for ; Fri, 11 Aug 2006 15:15:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qR7ZJZVk0xh2UUTTenfSNDEgD6teNZA05DCrzxc3CmFZlbupvwotvsorNKCk/O3hZeBE77CsY69hJM9Y0n8Ak8dSJI93bOwgorGLTb3fXQ0xG+0CrxW0gaS9o4L73DCvjApGac7EMnm27ymlIzUMKJAa4CMlzsLx/OYbNAyZC0M= Received: by 10.35.94.7 with SMTP id w7mr7005895pyl; Fri, 11 Aug 2006 15:15:29 -0700 (PDT) Received: by 10.35.57.18 with HTTP; Fri, 11 Aug 2006 15:15:29 -0700 (PDT) Message-ID: Date: Fri, 11 Aug 2006 15:15:29 -0700 From: "Nathan Mishra Linger" To: caml-list@yquem.inria.fr Subject: can ocamldep order .cmo files? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 44DD0182.003 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44DD0182.003 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamldep:01 cmo:01 ocaml:01 haskell:01 cmo:01 ocamlc:01 ocamldep:01 dependencies:01 makefiles:01 ocamlc:01 nathan:98 nathan:98 dependency:01 dependency:01 functional:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 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