Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Loading Bytecodes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: Loading Bytecodes
>  I have ocaml made on both Linux and Unix. I have a which
> compiles and executes well on both the systems.How I can execute the
> bytecodes generated from one system over another? 

Easy: transfer the bytecode executable file from one system to another.
Assume it's called exec.byt.  Then run

                ocamlrun exec.byt

on the second system.  Or, edit the first line of exec.byt
(the one with #!) to put the full path of ocamlrun on the second system,
provided it supports the #! notation.

- Xavier Leroy