You are right. It's just the "make top" that doesn't work. Sorry for
the confusion.
--- In ocaml_beginners%40yahoogroups.com">ocaml_beginners
yahoogroups.com, Martin Jambon
<martin_jambon
...> wrote:
>
> On Fri, 24 Nov 2006, drehman27 wrote:
>
> > Thanks for the reply.
> >
> > I built the toplevel to test if the library was loaded. What I would
> > like to do is to be able to use this library (and others) in OCaml
> > programs that I compile with OCamlMakeFile.
> >
> > If I do #use "topfind" and then #require "extlib" it works. But it
> > doesn't when I use the MakeFile.
>
> I don't understand: if you set PACKS = extlib
> and do "make nc" or "make bc", it should work fine.
>
>
> Martin
>
> > --- In ocaml_beginners%40yahoogroups.com">ocaml_beginners
yahoogroups.com, Richard Jones <rich
> wrote:
> >>
> >> On Thu, Nov 23, 2006 at 11:20:01PM -0000, drehman27 wrote:
> >>> I compiled my program with "make bc top"
> >>> But when I try the following in the toplevel I created, the DynArray
> >>> module is not loaded. How can I fix this?
> >>>
> >>> # DynArray.create;;
> >>> Unbound value DynArray.create
> >>
> >> I'm not really familiar with building toplevels using GODI, but you
> >> could try dynamically loading extlib instead:
> >>
> >> ocaml -I +extlib
> >> #load "extLib.cma";;
> >>
> >> (note the initial # is part of the #load command, not a prompt).
> >>
> >> Of course that doesn't really answer your problem (how to build a
> >> custom toplevel), and may not work if you're on some backwards
> >> platform that doesn't do dynamic linking.
> >>
> >> Rich.
> >>
> >> --
> >> Richard Jones, CTO Merjis Ltd.
> >> Merjis - web marketing and technology - http://merjis.com
> >> Internet Marketing and AdWords courses - http://merjis.com/courses -
> > NEW!
> >> Merjis blog - http://blog.merjis.com - NEW!
> >>
> >
> >
> >
> >
> >
> > Archives up to November 11, 2006 are also downloadable at
http://www.connettivo.net/cntprojects/ocaml_beginners/
> > The archives of the very official ocaml list (the seniors' one)
can be found at http://caml.inria.fr
> > Attachments are banned and you're asked to be polite, avoid flames
etc.
> > Yahoo! Groups Links
> >
> >
> >
> >
>
> --
> Martin Jambon, PhD
> http://martin.jambon.free.fr
>
> Ce message est confidentiel. Merci !
> This message is confidential. Thanks!
>
.