From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 12526BC6B for ; Fri, 21 Sep 2007 17:35:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAJuB80ZA6ba+mGdsb2JhbACOHAIBAQcEBg8W X-IronPort-AV: E=Sophos;i="4.20,284,1186351200"; d="scan'208";a="16559221" Received: from nf-out-0910.google.com ([64.233.182.190]) by mail4-smtp-sop.national.inria.fr with ESMTP; 21 Sep 2007 17:37:06 +0200 Received: by nf-out-0910.google.com with SMTP id e27so710052nfd for ; Fri, 21 Sep 2007 08:37:05 -0700 (PDT) Received: by 10.86.99.9 with SMTP id w9mr994755fgb.1190389025230; Fri, 21 Sep 2007 08:37:05 -0700 (PDT) Received: by 10.86.51.9 with HTTP; Fri, 21 Sep 2007 08:37:05 -0700 (PDT) Message-ID: <89aa9c440709210837l18eedb77l44cc1e0ce66e779b@mail.gmail.com> Date: Fri, 21 Sep 2007 17:37:05 +0200 From: "Massimiliano Brocchini" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocamlmktop 3.10 fails to link cmo files? In-Reply-To: <20070921151814.GA31405@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <89aa9c440709210731r7ff74b1as761929797ec71f5d@mail.gmail.com> <20070921151814.GA31405@localhost> X-Spam: no; 0.00; ocamlmktop:01 cmo:01 0200,:01 ocamlmktop:01 ocaml:01 cmo:01 mytop:01 mytop:01 ocaml:01 bug:01 cmi:01 beginner's:01 bug:01 unbound:01 beginners:01 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 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 >