<div dir="ltr"><div><div><div><div>Hi Joe,<br><br></div>Take a look at <a href="https://github.com/joaohf/meta-erlang">https://github.com/joaohf/meta-erlang</a><br><br></div>If it does not fit in your need, I could implement it<br><br></div>Of course meta-erlang should be used with Yocto/Openembedded.<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 10:21 AM, Joe Armstrong <span dir="ltr"><<a href="mailto:erlang@gmail.com" target="_blank">erlang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
I want to make a small erlang distribution for an embedded device - the process<br>
is rather simple:<br>
<br>
1) strip the beam executable<br>
2) for each library in {stdlib, kernerl, compiler, sasl} do<br>
Compress all the beam code and remove debug symbols<br>
squash everthing into a single packed file<br>
3) Hack the code loader to read from the single packed beam file<br>
4) Tweak the shell scripts to start Erlang<br>
<br>
At a guess we're down to c. 6 MB<br>
<br>
I have done this on *several* occassions - and am getting a bit fed up<br>
doing it over and over again.<br>
<br>
Has anybody done this recently - and should not something like this be<br>
in the standard distribution?<br>
<br>
Cheers<br>
<br>
/Joe<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">João Henrique Ferreira de Freitas - <a href="http://joaohf_at_gmail.com" target="_blank">joaohf_at_gmail.com</a><br>Campinas-SP-Brasil</div></div>
</div>