From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA18885; Thu, 26 Jun 2003 17:36:54 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA18374 for ; Thu, 26 Jun 2003 17:36:52 +0200 (MET DST) Received: from mailserver.cli.di.unipi.it (crudelia.cli.di.unipi.it [131.114.11.37]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5QFapf09965 for ; Thu, 26 Jun 2003 17:36:51 +0200 (MET DST) Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy Received: from fire.cli.di.unipi.it (fire-ext.cli.di.unipi.it [131.114.11.52]) by mailserver.cli.di.unipi.it (8.11.6/8.11.2) with SMTP id h5QDanr18848 for ; Thu, 26 Jun 2003 15:36:49 +0200 Received: (qmail 9477 invoked by uid 7794); 22 Jan 1998 03:23:47 -0000 Received: from hibit4.cli.di.unipi.it(131.114.11.84) via SMTP by concorde.inria.fr, id smtpda09364; Thu Jan 22 04:23:08 1998 Received: from localhost (ciancia@localhost) by hibit4.cli.di.unipi.it (8.11.6/8.11.2) with ESMTP id h5QFZuZ01453 for ; Thu, 26 Jun 2003 17:35:58 +0200 X-Authentication-Warning: hibit4.cli.di.unipi.it: ciancia owned process doing -bs Date: Thu, 26 Jun 2003 17:35:55 +0200 (CEST) From: Vincenzo Ciancia To: caml-list@inria.fr Subject: [Caml-list] Standalone toplevel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam: no; 0.00; threads:01 lablgl:01 lablglut:01 statically:01 ocamlmktop:01 -thread:01 -static:01 usr:01 3.06:01 pervasives:01 beast:01 linked:01 ocaml:01 -custom:01 command:98 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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