Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2008-10-05 (07:53)
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?


Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
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