Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] Core godi package

5 views
Skip to first unread message

N. Owen Gunden

unread,
May 7, 2008, 3:32:55 PM5/7/08
to Caml List, godi...@ocaml-programming.de
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

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

0 new messages