[erlang-questions] What erlc flags are needed to compile native (HiPE) to run on smp-disabled runtime?

Edwin Fine erlang-questions_efine@REDACTED
Sat Oct 11 18:21:03 CEST 2008


To generate native code for smp-enabled runtime using erlc is easy. I can't
seem to make it happen for smp disabled runtime.

If I start up Erlang with -smp disable and compile from within Erlang, then
it does what I want (creates a natively-compiled beam for non-smp use).

$ erl -smp disable
1> c(mymodule, [native, {hipe, o3}])
{ok,mymodule}
8>

But this is very inconvenient if a build system is created that relies on
erlc. Is there a better way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081011/d52b9d29/attachment.htm>


More information about the erlang-questions mailing list