Browse thread
[Caml-list] error messages to stdout?
-
Doug Bagley
- Warp
-
Remi VANICAT
-
Doug Bagley
-
John Malecki
- Doug Bagley
- Stefano Zacchiroli
- Florian Douetteau
-
John Malecki
-
Doug Bagley
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Stefano Zacchiroli <zack@c...> |
| Subject: | Re: [Caml-list] error messages to stdout? |
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 <zack@cs.unibo.it> 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