caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Standalone toplevel
@ 2003-06-26 15:35 Vincenzo Ciancia
  0 siblings, 0 replies; only message in thread
From: Vincenzo Ciancia @ 2003-06-26 15:35 UTC (permalink / raw)
  To: caml-list


 Hi all,

  I am developing a project wich uses threads, lablgl and lablglut.
  Sometimes I need to code on another machine, where I can't install
  glut-devel and in general don't have lablgl and lablglut.

  Is it possible to create a custom toplevel wich is both statically
  linked and stand-alone? I mean that it should run my .ml files without
  looking for other ocaml files on the system. I've tried with this
  command:

   ocamlmktop -thread -custom -o a.out -cclib -static -I \
  /usr/lib/ocaml/3.06/lablgl -I /usr/lib/ocaml/3.06/lablglut unix.cma \
  threads.cma lablgl.cma lablglut.cma  -cclib -lXi


  but it complains about not finding Pervasives.cmi, and anyway I would
  have to take all lablgl and lablglut mli's with it. Is there a way to
  have just the toplevel around? It would be also nice to be able to be
  able to distribute such a beast with a compiled-in library.

  Thanks for attention

  Vincenzo

 PS: I can't write to the list using my ordinary SMTP, wich is 
smtp.tin.it, maybe it's been blacklisted for some reason?



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

only message in thread, other threads:[~2003-06-26 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 15:35 [Caml-list] Standalone toplevel Vincenzo Ciancia

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).