[erlang-questions] tiny erlang

João Henrique Freitas <>
Thu Feb 18 16:20:27 CET 2016


Hi Joe,

Take a look at https://github.com/joaohf/meta-erlang

If it does not fit in your need, I could implement it

Of course meta-erlang should be used with Yocto/Openembedded.

Thanks

On Thu, Feb 18, 2016 at 10:21 AM, Joe Armstrong <> wrote:

> Hello
>
> I want to make a small erlang distribution for an embedded device - the
> process
> is rather simple:
>
>     1) strip the beam executable
>     2) for each library in {stdlib, kernerl, compiler, sasl} do
>        Compress all the beam code and remove debug symbols
>        squash everthing into a single packed file
>     3) Hack the code loader to read from the single packed beam file
>     4) Tweak the shell scripts to start Erlang
>
> At a guess we're down to c. 6 MB
>
> I have done this on *several* occassions - and am getting a bit fed up
> doing it over and over again.
>
> Has anybody done this recently - and should not something like this be
> in the standard distribution?
>
> Cheers
>
> /Joe
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



-- 
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160218/cdda92af/attachment.html>


More information about the erlang-questions mailing list