[erlang-bugs] erlc -smp flag is broken

Adam Lindberg adam.lindberg@REDACTED
Wed Nov 9 11:22:03 CET 2011


Hi,

The -smp flag to erlc is broken/unnecessary on most systems (those that default to SMP) since the SMP emulator is chosen when running erlc on those systems anyway. The workaround is to set the ERLC_EMULATOR environment variable to "erl -smp disable".

It would, however, be nice if the -smp flag to erlc could take the same parameters as for erl (enable, disable and auto) instead of removing the flag altogether.

Cheers,
Adam




More information about the erlang-bugs mailing list