Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlmktop 3.10 fails to link cmo files?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Julien Moutinho <julien.moutinho@g...>
Subject: Re: [Caml-list] ocamlmktop 3.10 fails to link cmo files?
On Fri, Sep 21, 2007 at 04:31:54PM +0200, Massimiliano Brocchini wrote:
> [...]
> e.g. ocamlmktop -I /home/massimiliano/ocaml_code/sequence/
> sequence.cmo -o mytop
> gives no error and build mytop
> but in mytop open Sequence fails reporting an unbound module
> 
> while
> 
> ocaml -I /home/massimiliano/ocaml_code/sequence/  sequence.cmo
> works as expected and allows me to open the module.
> 
> Am I doing something wrong or is it a bug?
Try this:
	% mytop -I /home/massimiliano/ocaml_code/sequence/
or this:
	% cd /home/massimiliano/ocaml_code/sequence/
	% ./mytop
So mytop will know where to find the .cmi.