[erlang-questions] determining what erts version a .beam was compiled with
Thu Jan 24 00:21:01 CET 2008
Interesting - I see the point about the compiler version being more salient than the erts vsn. The problem is other parts of my system depend on the erts vsn - perhaps in error. I need to think about this. Thanks for the info.
From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Bengt Kleberg
Sent: Wednesday, January 23, 2008 1:02 AM
Subject: Re: [erlang-questions] determining what erts version a .beam was compiled with
beam_lib:chunks/2 works for me:
4> beam_lib:chunks( "be_lib.beam", [compile_info]).
Those were the days...
EPO guidelines 1978: "If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims."
On 01/23/08 00:18, Lennart Öhman wrote:
> I believe there is a version attribute in the module_info tag 'compile'
> telling at least the version of the compiler application used. I guess
> this is actually more accurate since it must be for which beam object
> code has been generated that is of interest. Not necessarily which
> runtime system was used when compiling.
> But I further guess that you must inspect this information using some
> beam_lib function, because otherwise you must call the module_info
> function and that means you have to load the module. But if it is
> incompatible (younger than) to your runtime system at hand, that can
> be difficult.
> Best Regards
> Lennart Öhman phone : +46-8-587 623 27
> Sjöland & Thyselius Telecom AB cellular: +46-70-552 6735
> Hälsingegatan 43, 10th floor fax : +46-8-667 8230
> SE-113 31 STOCKHOLM, SWEDEN email : lennart.ohman@REDACTED
> From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Logan, Martin
> Sent: den 22 januari 2008 19:05
> To: erlang-questions@REDACTED
> Subject: [erlang-questions] determining what erts version a .beam was compiled with
> Does anyone know whether it is possible to tell by inspecting some .beam object code what erts vsn it was compiled on?
> erlang-questions mailing list
erlang-questions mailing list
More information about the erlang-questions