caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Core godi package
@ 2008-05-07 19:32 N. Owen Gunden
  0 siblings, 0 replies; only message in thread
From: N. Owen Gunden @ 2008-05-07 19:32 UTC (permalink / raw)
  To: Caml List; +Cc: godi-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-07 19:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07 19:32 Core godi package N. Owen Gunden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).