From: Richard Jones <rich@annexia.org>
To: rixed@happyleptic.org
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Missing the cmi files required to use toplevellib.cma
Date: Thu, 1 Oct 2009 14:54:19 +0100 [thread overview]
Message-ID: <20091001135419.GA10657@annexia.org> (raw)
In-Reply-To: <20091001120946.GA17610@yeeloong>
On Thu, Oct 01, 2009 at 02:09:46PM +0200, rixed@happyleptic.org wrote:
> While learning OCaml, I just coded a small program that dumps
> the full content of a cmi file. I find this more usefull than
> ocamlbrowser or to use the toplevel to have a small command line
> driven dumper, and it was also a good pretext to have a look
> under the cover.
You might also want to look at 'cmigrep'.
> The problem is : most of the usefull types and functions are
> installed in the toplevellib.cma but I can't use this without
> the proper cmi files (I need config.cmi for cmi_magic_number,
> printtyp.cmi and typemod.cmi for printing signatures, but
> env.cmi would be nice to have as well for read_signature).
>
> Of course I can use those left in ocaml-3.11.1 directory after
> compilation, but having them installed would help the creation
> and distribution of such tools.
This is really a packaging issue. I believe that Debian already ship
the compiled sources to OCaml as a separate package, mostly for this
reason. (Fedora doesn't, but probably we should follow Debian in this
respect).
Rich.
--
Richard Jones
Red Hat
next prev parent reply other threads:[~2009-10-01 13:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 12:09 rixed
2009-10-01 13:54 ` Richard Jones [this message]
2009-10-01 16:03 ` [Caml-list] " rixed
2009-10-01 14:02 ` Mehdi Dogguy
2009-10-01 16:06 ` rixed
2009-10-01 14:07 ` Gerd Stolpmann
2009-10-01 15:35 ` David Allsopp
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=20091001135419.GA10657@annexia.org \
--to=rich@annexia.org \
--cc=caml-list@yquem.inria.fr \
--cc=rixed@happyleptic.org \
/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