Browse thread
[Caml-list] error messages to stdout?
[
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: | John Malecki <johnm@a...> |
| Subject: | Re: [Caml-list] error messages to stdout? |
Doug Bagley wrote (2002-01-16T14:09:48-0600): > > Anyway, I have a workaround, I wrote a "trampoline" program that can > be used in place of the toplevel interpreter and does the compilation > transparently for lazy persons such as myself. > > It essentially turns any compiled language into a scripting language. > If anyone is interested in it ... I could clean it up for public > consumption. Hi Doug, I'd be interested in the trampoline program. 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 Unfortunately the loader does not perform environment variable expansion. I tried other tricks but I couldn't find a simple "1 liner". I'm still looking for something simple. If anyone has any ideas I'd like to hear them. (Yes, there are probably automount tricks I could use but I'm looking for a solution that will work for people without administrator privileges.) -cheers ------------------- 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