Beam files, module beam_lib and source code

David Gould <>
Tue Feb 13 22:18:44 CET 2001


On Thu, Feb 01, 2001 at 01:32:05PM +0100, Robert Virding wrote:
> Adding the fix for compile.erl which I posted a few weeks back to change
> the default behavior for debug_info in .beam files will not affect all
> the libraries built when building the system.  However, if size is
> important then replace bootstrap/lib/compiler-3.0.1/ebin/compile.beam
> with a modified compile.beam.  Next time the release is built then all 
> the libraries will be stripped.  This saves about 40% of the size of 
> the system.

Seems like it should be simple to write a tool to strip a beam file, maybe
even the basis of one was posted a while back. Or am I missing something?

-dg
 

-- 
David Gould                               510 536 1443
If simplicity worked, the world would be overrun with insects.



More information about the erlang-questions mailing list