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 JAA03262; Sat, 19 Jan 2002 09:12:08 +0100 (MET) 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 JAA02607 for ; Sat, 19 Jan 2002 09:12:07 +0100 (MET) Received: from mailrelay2.inwind.it (mailrelay2.inwind.it [212.141.54.102]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g0J8C6L03175 for ; Sat, 19 Jan 2002 09:12:06 +0100 (MET) Received: from dalamar.takhisis.org (62.98.144.1) by mailrelay2.inwind.it (5.5.053) id 3C3ABE8B005C9201 for caml-list@inria.fr; Sat, 19 Jan 2002 09:11:49 +0100 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (8.12.0/8.12.0/Debian -3) with ESMTP id g0J8Beqo002042 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Sat, 19 Jan 2002 09:11:47 +0100 Received: from lordsoth.takhisis.org (localhost [127.0.0.1]) by lordsoth.takhisis.org (8.12.0/8.12.0/Debian -3) with ESMTP id g0J8BBLg003742 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Sat, 19 Jan 2002 09:11:11 +0100 Received: (from zack@localhost) by lordsoth.takhisis.org (8.12.0/8.12.0/Debian -3) id g0J8BA3E003740 for caml-list@inria.fr; Sat, 19 Jan 2002 09:11:10 +0100 Date: Sat, 19 Jan 2002 09:11:10 +0100 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: Re: [Caml-list] error messages to stdout? Message-ID: <20020119081110.GA2714@cs.unibo.it> Mail-Followup-To: caml-list@inria.fr References: <15429.3000.625598.380078@ns.bagley.org> <87n0ze9ivj.dlv@wanadoo.fr> <15429.56844.510694.554970@ns.bagley.org> <15431.6370.86918.38285@reggie.artisan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15431.6370.86918.38285@reggie.artisan.com> User-Agent: Mutt/1.3.25i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Jan 17, 2002 at 10:33:06AM -0800, John Malecki wrote: > At the moment we are operating in a homogeneous computing environment. > Sooner or later we will add some a different computer architecture to > our pool and I was thinking about how to take advantage of compiling > byte-code once and using it on all platforms. This has the advantage > that a developer can compile once, on any one platform, and make that > program immediately available on all other machine architectures. > > I'm not sure of the best way to do this. I was thinking of using the > bash MACHTYPE environment variable and then install the byte-code > program in /usr/local/bin but have the 1st line of that file say > > #! /usr/local/bin/ocamlrun.$MACHTYPE Probably I miss the point but if your machines have some local disk data you can install ocamlrun executable locally on each machine but using the same path. In such a way using "#! /usr/local/bin/ocamlrun" will work on each architecture. But, obviously, if all of your filesystems are shared this trick doesn't work. Cheers. -- Stefano "Zack" Zacchiroli ICQ# 33538863 Home Page: http://www.cs.unibo.it/~zacchiro Undergraduate student of Computer Science @ University of Bologna, Italy - Information wants to be Open - ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr