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 TAA30848; Tue, 27 Aug 2002 19:06:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA31345 for ; Tue, 27 Aug 2002 19:06:52 +0200 (MET DST) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7RH6pX15132 for ; Tue, 27 Aug 2002 19:06:51 +0200 (MET DST) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto6.wanadoo.fr (6.5.007) id 3D6246E800306891; Tue, 27 Aug 2002 19:06:45 +0200 Received: from warp (80.15.42.179) by mel-rta10.wanadoo.fr (6.5.007) id 3D49FFDD009837B5; Tue, 27 Aug 2002 19:06:45 +0200 Message-ID: <003901c24dec$269e14b0$0700a8c0@warp> From: "Nicolas Cannasse" To: "Kontra, Gergely" , "OCaml" References: Subject: Re: [Caml-list] Osiris - gtk Date: Tue, 27 Aug 2002 19:06:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Thanks, I don't know this anyway. > If this is such a common thing, can it be automated. > Is it true that open Osiris;; implies #load "osiris.cma" ? Or is it true > just inside the interactive loop? "open Osiris " will check the osiris.cmi existence and import Osiris module into the global namespace. ... but osiris is also a librairy, so the code needs to be either linked when compiling with ocamlc ) or dynamicly loaded under the toplevel ( using #load command ) before any method get called. The 3.05+ release of OCaml enable you to directly load CMA's ( that is : ocaml libraries ) by passing them as command line arguments. Nicolas Cannasse ------------------- 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