[erlang-questions] Why do I have to recompile erl files

Donald Steven t6sn7gt@REDACTED
Fri Feb 22 18:14:07 CET 2019


Is it the case that beam files usually have to be recompiled when using 
a newer OTP version?

On 2/21/2019 7.02 PM, Luke Bakken wrote:
> Hi Donald,
>
> I suspect the different Erlang versions are causing this. Sometimes
> beam files are compatible, but I've found re-compilation is almost
> always required when moving between major versions.
>
> On Thu, Feb 21, 2019 at 3:46 PM Donald Steven <t6sn7gt@REDACTED> wrote:
>> My PC says: Erlang/OTP 20 [erts-0.9] [source] [64-bit] ...
>> My laptop says: My PC says: Erlang/OTP 18- [erts-7.3] [source] [64-bit] ...
>>
>> On 2/21/2019 1.53 PM, Luke Bakken wrote:
>>> Hi Donald,
>>>
>>> I'm curious to know what the error is, and if you're using the same
>>> version of Erlang in both places.
>>>
>>> On Thu, Feb 21, 2019 at 4:11 AM Donald Steven <t6sn7gt@REDACTED> wrote:
>>>> When I take my work from my desktop to my laptop I have to recompile
>>>> some erl modules or I get an error (even though the beam files are
>>>> present and where they need to be and they're both modern Intel Windows
>>>> machines).  What's going on?
>>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> Don
>>>>
>>>>
>>>> PS: I do use the WIndows Linux subsystem, but both computers are up to
>>>> date so I don' think there is any difference there either.
>>>>
>>>>
>>>> _______________________________________________
>>>> erlang-questions mailing list
>>>> erlang-questions@REDACTED
>>>> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list