Version française
Home     About     Download     Resources     Contact us    
Browse thread
Reading external references from cmo/cmx files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Adrien <camaradetux@g...>
Subject: Re : [Caml-list] Reading external references from cmo/cmx files
I found a link but it's 2003, ocaml 3.04. I don't know how relevant it is.

http://groups.google.com/group/fa.caml/msg/943e8b6642d23992


 ---

Adrien Nader

2008/10/5, Stefano Zacchiroli <zack@upsilon.cc>:
> On Sat, Oct 04, 2008 at 10:41:56PM +0200, Stéphane Glondu wrote:
>> Jason Noakes wrote:
>> > Are there any tools or examples that would allow me to take a .cmo or
>> > .cmx
>> > file and produce a list of the external modules that are referenced from
>> > that file?
>>
>> There is ocamlobjinfo. But it seems to work only with bytecode objects
>> (.cmo/.cma).
>
> Actually, sometimes ago, someone wrote an implementation of
> ocamlobjinfo for native code object, but unfortunately right I fail to
> find the reference on the Web.
>
> Does anybody remember it?
>
> Cheers.
>
> --
> Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
> zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
> I'm still an SGML person,this newfangled /\ All one has to do is hit the
> XML stuff is so ... simplistic  -- Manoj \/ right keys at the right time
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>