caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Massimiliano Brocchini" <brocchini@netseven.it>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlmktop 3.10 fails to link cmo files?
Date: Fri, 21 Sep 2007 17:37:05 +0200	[thread overview]
Message-ID: <89aa9c440709210837l18eedb77l44cc1e0ce66e779b@mail.gmail.com> (raw)
In-Reply-To: <20070921151814.GA31405@localhost>

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
>


  reply	other threads:[~2007-09-21 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 14:31 Massimiliano Brocchini
2007-09-21 15:18 ` [Caml-list] " Julien Moutinho
2007-09-21 15:37   ` Massimiliano Brocchini [this message]
2007-09-21 15:38   ` Massimiliano Brocchini
2007-09-21 15:56     ` Julien Moutinho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89aa9c440709210837l18eedb77l44cc1e0ce66e779b@mail.gmail.com \
    --to=brocchini@netseven.it \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).