English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] Osiris - gtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-27 (17:06)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Osiris - gtk
> 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