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
Re: Ocaml VM and bytecode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-01-31 (16:34)
From: Fabrice Le Fessant <fabrice.le_fessant@i...>
Subject: Re: Ocaml VM and bytecode

> Here is a patch to lattest ocaml CVS version, allowing direct
> compilation of text bytecode instructions to .cmo files.
> Text bytecode instructions files should have extension .ocb (Objective
> Caml Bytecode), and have the same format as the output from ocamlc
> with -dinstr.
> For example:
> ocamlc -c -dinstr 2> test.ocb
> should give almost the same .cmo files as 
> ocamlc -c test.ocb
> (the interface test.cmi is empty, so the CRCs are different in the
> .cmo file)

Since the attachment was not accepted by the TOO STRICT :)
mailing-list moderator, I have put the PATCH on

The patch should be used in the current CVS directory csl/ with
the shell command:

# patch -p1 <


-- Fabrice