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 OAA15674; Fri, 14 Jun 2002 14:25:00 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA15821 for caml-list@pauillac.inria.fr; Fri, 14 Jun 2002 14:24:59 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA11064 for ; Fri, 14 Jun 2002 10:44:36 +0200 (MET DST) Received: from isis.u-strasbg.fr (isis.u-strasbg.fr [130.79.200.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g5E8iZ522094 for ; Fri, 14 Jun 2002 10:44:35 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.44.193]) by isis.u-strasbg.fr (8.12.3/jtpda-5.4) with ESMTP id g5E8iZpU017464 for ; Fri, 14 Jun 2002 10:44:35 +0200 (CEST) Received: from lambda.u-strasbg.fr (lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id KAA17042 for ; Fri, 14 Jun 2002 10:46:00 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.35 #1 (Debian)) id 17Impi-0008EB-00 for ; Fri, 14 Jun 2002 10:53:26 +0200 Date: Fri, 14 Jun 2002 10:53:26 +0200 To: Caml List Subject: Re: [Caml-list] findlib + depencencies Message-ID: <20020614085326.GA31609@lambda.u-strasbg.fr> References: <20020614043033.GB29135@ics.uci.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020614043033.GB29135@ics.uci.edu> User-Agent: Mutt/1.4i From: Sven Luther Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Jun 13, 2002 at 09:30:33PM -0700, Christian H. Stork wrote: > Hi, > > I'm new to OCaml. So please forgive me if I miss something obvious. > > Here's my simple question: Is there a tool out there (or maybe, why > isn't there) that allows me to type > > ocamlfind+dep source-depending-on-pkg-P.ml > > and that extracts the information that package P is used and provides > the necessary information to ocamlfind, which in turn calls the > compiler. As far as I can tell ocamldep does not provide for an easy > way to interact in such a fashion with ocamlfind. My understanding of this is that you would need to hand write the META files, and use that, i don't think there is an automated tool, and i also don't really think it is easily possible to write one given the current state of things, since the info about what library provides which module is not available easily in the .ml file. (this is exactly what the META files are all about, if i understood this thing correctly, but then, i don't use findlib myself). Friendly, Sven Luther ------------------- 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