[erlang-questions] compile time

Aggelos Giantsios <>
Wed Nov 27 22:25:55 CET 2013


Why is that a problem?
If you use beam_lib:cmp/2 to compare the files that are otherwise the same,
the result will be ok meaning that they are equal for Erlang.

Anyhow, you can also use beam_lib:strip/1 on an existing beam file to
remove the compile info chunk.

Aggelos


On Wed, Nov 27, 2013 at 2:46 PM, Matwey V. Kornilov <
> wrote:

> Hi,
>
> erlc puts compile date and time into CInf chunk of the resulting .beam
> file. Is there a way to disable this behavior? Putting compile time into
> code file leads to production of different .beam files for the same .erl
> source.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131127/baddf87e/attachment.html>


More information about the erlang-questions mailing list