From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA28361; Tue, 22 Jan 2002 14:24:52 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA27761 for caml-list@pauillac.inria.fr; Tue, 22 Jan 2002 14:24:51 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA04168 for ; Tue, 22 Jan 2002 00:00:58 +0100 (MET) Received: from mail.gruposbd.com ([195.76.154.102]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g0LN0vX13761 for ; Tue, 22 Jan 2002 00:00:57 +0100 (MET) Received: by mail.gruposbd.com (Postfix, from userid 30) id 1BBCB4EC8; Tue, 22 Jan 2002 01:03:08 +0100 (CET) To: Markus Mottl Subject: [Caml-list] Re: about toplevels Message-ID: <1011657788.3c4cac3c175d2@webmail.sbdconsultors.com> Date: Tue, 22 Jan 2002 01:03:08 +0100 (CET) From: cgillot@gruposbd.com Cc: caml-list@inria.fr References: <1011655678.3c4ca3fe74235@webmail.sbdconsultors.com> <20020121224336.GA17642@fichte.ai.univie.ac.at> In-Reply-To: <20020121224336.GA17642@fichte.ai.univie.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, > This should probably be an FAQ: toplevels do not remember > include-paths > of libraries linked with them. This means that you have to explicitly > tell your toplevel where to find the module interfaces (.cmi-files), > e.g.: > > ocamlunx -I +camlp4 -I +contrib Thanks a lot for the support. > > Only then can you reference modules in those libraries. Maybe this > should > be mentioned in chapter 9.5 of the manual? I think that it's important to mention it at least as a "gotcha" as you told. But I consider it as a bug, I mean you already mentioned the "-I +contrib" operation when you create the toplevel with ocamlmktop. And you don't want to mention this option each time you want to test something. Regards, -- Christian Gillot GNU/Linux developer ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr