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: Stefano Zacchiroli <zack@u...>
Subject: Re: [Caml-list] Reading external references from cmo/cmx files
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