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 DAA14837; Tue, 21 Oct 2003 03:22:49 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 DAA06193 for ; Tue, 21 Oct 2003 03:22:46 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9L1Mi114664 for ; Tue, 21 Oct 2003 03:22:45 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id KAA01370; Tue, 21 Oct 2003 10:22:36 +0900 (JST) To: jove@newmail.ru Cc: caml-list@inria.fr Subject: Re: [Caml-list] different arch. In-Reply-To: <200310202055.23728.jove@newmail.ru> References: <200310202055.23728.jove@newmail.ru> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031021102236L.garrigue@kurims.kyoto-u.ac.jp> Date: Tue, 21 Oct 2003 10:22:36 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 jacques:01 newmail:99 gcc:01 labltk:01 threads:01 ocamlrun:01 ocamlrun:01 myprog:01 byterun:01 jacques:01 compiler:01 compiler:01 ocaml:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Vladimir Skokov > I have the following problem: > there is ocaml compiler on the first machine (Linux, i386) > there is no ocaml compiler and there is no way to install it on the second > machine (Irix, Silicon Graphics) > How can I run my ocaml program on the second machine? > Of course, gcc is installed on both! What do you mean by "no way to install it"? Certainly ocaml can be installed on Irix, both bytecode and native code working. And you can of course install under your home directory. Is it just that you have only limited space allowed? For bytecode alone, a few megabytes should be sufficient. If your program does not use any native libraries (unix, str, caml/labltk, threads), another option is to compile it to bytecode under linux, and only build the ocamlrun executable under Irix, since it is only about 200k. The you can run your program with ocamlrun myprog on the Irix machine. You don't even need to extract the full distribution for that: configure, config/*, byterun/* should suffice. Jacques Garrigue ------------------- 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