new opcodes in R11

Bjorn Gustavsson <>
Mon May 22 11:11:02 CEST 2006


We don't consider it an incompatibility, as running code in an earlier major
release than it was compiled for is not a supported feature.

That said, the options you can use are either 'r9' or 'r10', or to add 
'no_gc_bifs' to the options you already mentioned. Note that we haven't
tested those options extensively, and also note that the code quality
might be slightly worse as some optimizations are not done when you use
those options.

/Bjorn


"Vlad Dumitrescu" <> writes:

> Hi!
> 
> I switched to R11 in my environment, but the beams compiled here can't
> be run on R10:
>     use of opcode 125; this emulator supports only up to 115
> 
> I use no_new_binaries and no_new_apply in order to be able to be able
> to use R10 but be able to run on R9 too.
> 
> Are there any similar compiler options for R11?
> In any case, I think this incompatibility should be documented (it
> isn't in the compiler release notes).
> 
> best regards,
> Vlad
> 

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list