Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] lablgtk newbie question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] lablgtk newbie question
From: Richard Jones <rich@annexia.org>

> Why do I have to run lablgtk programs using the 'lablgtk' interpreter?
> What does this do above and beyond ordinary /usr/bin/ocaml?

Two years ago, when ocaml didn't have dynamic loading, this was a
requirement, like for old versions of Tcl as you say.

Nowadays, except on some exotic platform, this is just a question of
comfort: the toplevel is configured to make its use easier.
You can do the same thing by passing some options to the standard
toplevel:
        ocaml -w s -I +lablgtk lablgtk.cma gtkInit.cmo

Jacques Garrigue

-------------------
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