Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] findlib + depencencies
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sven Luther <luther@l...>
Subject: Re: [Caml-list] findlib + depencencies
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