From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id HAA11475; Fri, 21 Nov 2003 07:45:14 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA10727 for ; Fri, 21 Nov 2003 07:45:13 +0100 (MET) Received: from mail.davidb.org (adsl-64-172-240-129.dsl.sndg02.pacbell.net [64.172.240.129]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAL6jC128662 for ; Fri, 21 Nov 2003 07:45:12 +0100 (MET) Received: from davidb by mail.davidb.org with local (Exim 3.36 #1 (Debian)) id 1AN52Q-0002Lm-00; Thu, 20 Nov 2003 22:45:06 -0800 Date: Thu, 20 Nov 2003 22:45:06 -0800 From: David Brown To: Nicolas Cannasse Cc: David Brown , Martin Jambon , sylvain.le-gall@polytechnique.org, caml-list@inria.fr Subject: Re: [Caml-list] Building large and portable projects Message-ID: <20031121064506.GA9001@davidb.org> References: <20031120195614.GB441@gallu.homelinux.org> <000f01c3afd1$30033c90$0274a8c0@PWARP> <20031121052549.GA8599@davidb.org> <008301c3aff3$1030e760$0274a8c0@PWARP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008301c3aff3$1030e760$0274a8c0@PWARP> User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 caml-list:01 0900,:01 cannasse:01 ocamldep:01 dependencies:01 ocamldep:01 dependencies:01 ocamake:01 nicolas:01 command:98 nov:01 module:03 dave:03 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Nov 21, 2003 at 02:48:17PM +0900, Nicolas Cannasse wrote: > The first problem I see is that right now ocamldep is only giving you the > dependencies between files that are listed in the ocamldep command. That > means that you already need to know all the files before generating the > dependencies between them. Start with the module you know. As long as the path is right, ocamldep will give you the dependencies for the files it referrs to (they don't have to be named, as long as their source is in the path). You can keep doing this to get a full name. Ocamake seems to be able to do it. Dave ------------------- 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