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: Massimiliano Brocchini <ebrocchini@v...>
Subject: Re: [Caml-list] ocamlmktop 3.10 fails to link cmo files?
Thanks for your reply.

This works....
but doesn't the need to specify the include path reduce the usefulness
of building a custom top level?

On 9/21/07, Julien Moutinho <julien.moutinho@gmail.com> wrote:
> 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.
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>