Re: "ocaml_beginners":: Re: Using the interpreter with multiple .ml files
- On Sat, Nov 03, 2007 at 12:57:38PM -0400, Ashish Agarwal wrote:
> > I have tried changing it to "ocamlc -c exp.cmo cas.ml"This is not true. OCaml looks for the .cmi files in the search
> Also, you don't need to include the cmo file if you are just compiling.
> ocamlc looks for cmo files in the current directory (and directories
> included by the -I flag).
directories when compiling.
> > ocamlc looks for cmo files in the current directory (and directoriesOops. Thanks for the correction.
> > included by the -I flag).
> This is not true. OCaml looks for the .cmi files in the search
> directories when compiling.
[Non-text portions of this message have been removed]