Version française
Home     About     Download     Resources     Contact us    
Browse thread
Core godi package
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: N. Owen Gunden <ogunden@p...>
Subject: Core godi package
There is now a package "godi-janestreet-core" in GODI (version 3.10
only).

It has been only minimally tested, and there is one known issue: you
must provide "-thread" to the compiler when you link against it.  In
OCamlMakefile-speak, this means set THREADS = yes.  To get the toplevel
to work:

# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #thread;;
/home/godi/root/lib/ocaml/std-lib/threads: added to search path
/home/godi/root/lib/ocaml/std-lib/unix.cma: loaded
/home/godi/root/lib/ocaml/std-lib/threads/threads.cma: loaded
# #require "core";;
/home/godi/root/lib/ocaml/std-lib/bigarray.cma: loaded
/home/godi/root/lib/ocaml/pkg-lib/res: added to search path
/home/godi/root/lib/ocaml/pkg-lib/res/res.cma: loaded
/home/godi/root/lib/ocaml/std-lib/nums.cma: loaded
/home/godi/root/lib/ocaml/pkg-lib/num-top: added to search path
/home/godi/root/lib/ocaml/pkg-lib/num-top/num_top.cma: loaded
/home/godi/root/lib/ocaml/pkg-lib/num: added to search path
/home/godi/root/lib/ocaml/pkg-lib/sexplib: added to search path
/home/godi/root/lib/ocaml/pkg-lib/sexplib/sexplib.cma: loaded
/home/godi/root/lib/ocaml/pkg-lib/bin_prot: added to search path
/home/godi/root/lib/ocaml/pkg-lib/bin_prot/bin_prot.cma: loaded
/home/godi/root/lib/ocaml/pkg-lib/core: added to search path
/home/godi/root/lib/ocaml/pkg-lib/core/core.cma: loaded

If you don't have threads enabled, you'll get one of a number of obscure
error messages.

We hope to make the thread stuff get pulled in automatically in the next
version, but we haven't quite figured out the right findlib incantation
yet.  Pointers would be appreciated.

 - O