Compiler backwards compatibility

Vlad Dumitrescu XX (LN/EAB) vlad.xx.dumitrescu@REDACTED
Tue Sep 6 15:55:21 CEST 2005


Hi,

Okay, I checked these options, but 'r7' is a little too strong, as I need some of the features in any case. 

What options should I use in order to get R9 compatibility? The current complaint is for opcode 112, which should mean I have to use no_new_apply, but are there more?

best regards,
Vlad

> -----Original Message-----
> From: owner-erlang-questions@REDACTED
> [mailto:owner-erlang-questions@REDACTED]On Behalf Of Bjorn 
> Gustavsson
> Sent: Tuesday, September 06, 2005 2:15 PM
> To: erlang-questions@REDACTED
> Subject: Re: Compiler backwards compatibility
> 
> 
> While not officially supported, we have some options we use for
> testing that should work:
> 
> erlc +r7 file.erl
> 
> OR
> 
> erlc +no_new_binaries +no_new_apply file.erl
> 
> /Björn
> 
> "Vlad Dumitrescu XX (LN/EAB)" 
> <vlad.xx.dumitrescu@REDACTED> writes:
> 
> > Hi,
> >  
> > Is the R10 compiler able to generate beam files that are 
> R9-compatible? I don't use any of the new features, but the 
> beam files contain opcodes that aren't supported on R9.
> >  
> > regards,
> > Vlad
> >  
> 
> -- 
> Björn Gustavsson, Erlang/OTP, Ericsson AB
> 



More information about the erlang-questions mailing list