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
(Announce) "OCAPIC" : OCaml for PIC18 microcontrollers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-11 (05:52)
From: Julien Signoles <julien.signoles@g...>
Subject: Re: [Caml-list] ocamlclean : an OCaml bytecode cleaner (Was: (Announce) "OCAPIC" : OCaml for PIC18 microcontrollers)

2010/11/11 Philippe Wang <>

> Shortly:
> ocamlclean is now available in a separate package so that you don't have to
> get the whole ocapic distribution just to try ocamlclean.
> More information:
> ocamlclean takes a bytecode executable (which are generally but not
> necessarily produced by "ocamlc" compiler) and reduces its size by
> eliminating some dead code. Dead code is discriminated statically. (It's
> impossible to eliminate all dead code, but in some cases it can reduce
> bytecode executables tremendously) It is meant to be compatible with
> standard bytecode such as produced by ocamlc. (DBUG section is currently not
> supported and is removed during the cleaning process. Other unsupported
> sections are left untouched.)

Is ocamlclean compatible with dynamic loading? That is code potentially used
by some unknown dynamically-loaded code must be kept.