caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven Luther <luther@lambda.u-strasbg.fr>
To: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] findlib + depencencies
Date: Fri, 14 Jun 2002 10:53:26 +0200	[thread overview]
Message-ID: <20020614085326.GA31609@lambda.u-strasbg.fr> (raw)
In-Reply-To: <20020614043033.GB29135@ics.uci.edu>

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


  reply	other threads:[~2002-06-14 12:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14  4:30 Christian H. Stork
2002-06-14  8:53 ` Sven Luther [this message]
2002-06-14 13:31   ` Stefano Zacchiroli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020614085326.GA31609@lambda.u-strasbg.fr \
    --to=luther@lambda.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).