[erlang-questions] Building small erlang vm suitable for bundle with app.

wrp i3text@REDACTED
Tue Dec 13 04:15:02 CET 2011


On Dec 8, 2:55 am, Ahmed Omar <spawn.th...@REDACTED> wrote:
> What you are looking for is releases. You can create a release and include
> the erlang runtime system (erts) executables within it.
> For more information about that i suggest you take a look at...

The methods described at http://learnyousomeerlang.com/release-is-the-word
use systools and reltool, which result in rather large distributables.

"...with systools...the files are a bit large. The whole release takes
over 20 MB on disk..."

"...Some of our more general releases would weigh in at over 35 MB.
The one described above is reduced to less than 20 MB [with
reltool}... The size is still fairly large though. That's because of
ERTS, which itself takes 18.5 MB."""

However, http://www.erlang.org/faq/implementations.html says

"A 2 MB stripped Erlang system can include the beam emulator and
almost all of the stdlib, sasl, kernel, inets and runtime_tools
libraries, provided the libraries are compiled without debugging
information and are compressed..."

Are there detailed directions anywhere on building such small
distributables?



More information about the erlang-questions mailing list