Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 test.ml 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

http://pauillac.inria.fr/~lefessan/src/patch.ocamlc.as

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

# patch -p1 < patch.ocamlc.as

Regards,

-- Fabrice