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 XAA00857; Thu, 18 Apr 2002 23:04:12 +0200 (MET DST) 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 XAA00853 for caml-list@pauillac.inria.fr; Thu, 18 Apr 2002 23:04:12 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA03220 for ; Wed, 17 Apr 2002 20:39:41 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mel-rto1.wanadoo.fr (smtp-out-1.wanadoo.fr [193.252.19.188]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3HIdab25708 for ; Wed, 17 Apr 2002 20:39:36 +0200 (MET DST) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto1.wanadoo.fr (6.5.007) id 3CBD7DBA00022359 for caml-list@inria.fr; Wed, 17 Apr 2002 20:39:36 +0200 Received: from wanadoo.fr (62.161.105.241) by mel-rta10.wanadoo.fr; 17 Apr 2002 20:39:24 +0200 Message-ID: <3CBDC576.53EE163E@wanadoo.fr> Date: Wed, 17 Apr 2002 20:56:54 +0200 From: "Laurent.MAGDELAINE" X-Mailer: Mozilla 4.72 [fr] (X11; U; Linux 2.2.14-5.0 i586) X-Accept-Language: en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] creation d'un toplevel avec camltk ! Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk J'utilise beaucoup la recompilation de toplevels personalisés, mais de nombreux points restent encore trés obscures pour moi. Je recherche le moyen de créer une boucle d'interraction avec labltk et pourquoi pas aussi avec de support des threads. Si j'utilise les directives suivantes : #directory "+labltk";; #load "labltk.cma";; et que j'ouvre un module comme par exemple : open Tk;; avec la boucle d'interraction standard "ocaml", tout se passe bien. Par contre, quand je recompile un toplevel : ocamlmktop -custom -o mytop -I +labltk -linkall labltk.cma et que je tente d'ouvrir le meme module : open Tk;; j'obtient : Unbound module Tk Je m'y prend certainement trés mal, mais je pense que je ne doit pas étre le seul à avoir des difficultées avec la recompilation des toplevels. Si quelqu'un peut m'aider, merci par avance :-) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners