Browse thread
Typing unmarshalling without marshalling types
[
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: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] Typing unmarshalling without marshalling types |
On Thu, 2006-06-29 at 09:20 +1200, Jonathan Roewen wrote: > > I used your shell script to build it, and mkcamlp4 doesn't want to > > play nice (complains that odyl.cmo is not a bytecode object file). > > Ohh, it's a shell script! And ocaml doesn't encode path info for > ocamlc from the setting of prefix in the configure script. > > I'm sure that's a quick fix from the ocaml team for the next release :-) It isn't broken. The need to search the environment for the interpreter is mandated by the requirement scripts invoking the names of ocaml executables are transparent with respect to both: (a) whether the code is bytecode or native code (b) the machine it runs on Hard coding the location of the interpreter breaks requirement (b): it prevents shipping bytecode from one machine to another because two people may have installed the interpreter in different places (indeed may be running different OS!) If you KNOW you have bytecode you can invoke the interpreter explicitly, in which case your shell language already allows you to specify the location. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net