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: Eric C. Cooper <ecc@c...>
Subject: Re: [Caml-list] lablgtk newbie question
On Tue, Apr 22, 2003 at 11:55:29AM +0100, Richard Jones wrote:
> Why do I have to run lablgtk programs using the 'lablgtk' interpreter?
> What does this do above and beyond ordinary /usr/bin/ocaml?

You don't; you can do the following instead:

$ ocaml -I +lablgtk lablgtk.cma
        Objective Caml version 3.06

# 

I think lablgtk is a hold-over from the days when the interpreter
didn't support the #load directive, so you had to build custom
top-levels with various libraries.

-- 
Eric C. Cooper          e c c @ c m u . e d u

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