List Info

Thread: Re: "ocaml_beginners"::[] .cmo file found, but module still unbound




Re: "ocaml_beginners"::[] .cmo file found, but module still unbound
user name
2007-01-27 14:03:49

--- In ocaml_beginners%40yahoogroups.com">ocaml_beginnersyahoogroups.com, "Jonathan Roewen&quot; <jonathan.roewen...>
wrote:
>
&gt; For a toplevel, it can't manipulate functions in a .cmo without the
> corresponding .cmi file being accessible in the path.
&gt;
> Since the toplevel needs type information, it needs the cmi. I'm not
> currently aware of any way around that limitation.
>

I'm not quite sure I understand what you mean : in my example
the "Special_dir&quot; subdirectory contains not only MyMod.cmo, but
also MyMod.cmi and MyMod.ml (of course, they were all generated
from MyMod.ml with ocamlc -c, which had no trouble with
different directories). Do you mean that MyMod.cmi should be moved
from Special_dir/ to / for the toplevel to work properly ?

Ewan

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )