[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: next ocaml and location of .so lib



On Mon, Sep 10, 2001 at 02:33:36PM +0200, Sven wrote:
> That said i don't really understand the rest of what you say here.

I'll try to explain better.

WRT ocaml toplevel loops, from ocaml 3.03 will be possible to load
external modules using a #-directive (I don't remembre what) like #load
or similar, this without have to build a custom ocaml toplevel using
ocamlmktop. Currently if you want to try Unix module you have to build a
customized toplevel with ocamlmktop command.

I don't know exactly how this loading works but it needs .so files and
it search for them in a default directory and in directory specified at
cmd line by user ("ocaml -I /usr/lib/mydir" for example).

Well, if we leave all .so files where upstream installation put them, a
user may have to specify several -I at command line to use different
modules. If we reach an agreement on a location we may install all .so
file in this location and compile ocaml with default .so search dir set
to this location.

In such a way a user that install a new module that require a .so file
to be used in toplevel have nothing to do, he only has to run 'ocaml'
and the new module can be loaded in the toplevel.

Is now clearer?

-- 
Stefano "Zack" Zacchiroli <zack@cs.unibo.it> ICQ# 33538863
Home Page: http://www.students.cs.unibo.it/~zacchiro
Undergraduate student of Computer Science @ University of Bologna, Italy
                 - Information wants to be Open -

Attachment: pgpo5L2fb_VkB.pgp
Description: PGP signature


Reply to: