Erlang bytecodes and/or VM description?

Richard Carlsson <>
Fri Jun 2 12:31:41 CEST 2006

Richard A. O'Keefe wrote:
> 	You'll have to write 
> 		erlc +'S' mod.erl
> 	And also to remember that the qutes need to be escaped, so the working
> 	comand line is:
> 		erlc +\'S\' mod.erl
> How is
>     erlc +"'S'" mod.erl
> different from
>     erlc -S mod.erl
> (except for being harder to type)?

These are command-line options, remember. The ones prefixed by + are further
parsed as erlang terms to be given as options to the compiler. The - ones are
just flags. I suppose the -S is defined as an alias for passing the atom 'S'
as a compiler option.


More information about the erlang-questions mailing list