Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Vincenzo Ciancia <ciancia@cli.di.unipi.it>
To: caml-list@inria.fr
Subject: [Caml-list] Standalone toplevel
Date: Thu, 26 Jun 2003 17:35:55 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0306261734040.1446-100000@hibit4.cli.di.unipi.it> (raw)


 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


                 reply	other threads:[~2003-06-26 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0306261734040.1446-100000@hibit4.cli.di.unipi.it \
    --to=ciancia@cli.di.unipi.it \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox