[erlang-questions] Making a minimal distributable program in Erlang.
Wed Sep 20 16:34:50 CEST 2017
Do you think it's possible to package this minimal distribution in one
Imagine we can ship a whole release in one binary (like in Go).
Wed 20 sept. 2017 at 16:23, Joe Armstrong <erlang@REDACTED> wrote :
> Thanks everybody for you help - I got it down to 5.5MB in 9 files
> Relocated as follows. I've also packed/compressed the libraries
> Here are the files that are needed
> %% DEST/bin/erl.exe 120320 bytes
> %% DEST/bin/start.boot 5603 bytes
> %% DEST/erts-9.0/bin/beam.smp.dll 3346944 bytes
> %% DEST/erts-9.0/bin/erlexec.dll 162304 bytes
> %% DEST/erts-9.0/bin/inet_gethost.exec 45568 bytes
> %% DEST/lib/compiler-7.1.ez 409091 bytes
> %% DEST/lib/kernel-5.2.ez 384730 bytes
> %% DEST/lib/sasl-3.0.4.ez 106278 bytes
> %% DEST/lib/stdlib-3.4.ez 913013 bytes
> This seems to work :-)
> On Wed, Sep 20, 2017 at 2:24 PM, Dmitry Kolesnikov
> <dmkolesnikov@REDACTED> wrote:
> > Hello,
> > On 20 Sep 2017, at 13.35, Stu Bailey <stu.bailey@REDACTED> wrote:
> > "As an afterthought - it would be *very nice* to have a program which
> > makes a minimal distributable program for Windows/Mac/Linux."
> > This program is called relx.
> > It generates a release package which are deployable to any vanilla linux
> > other vanilla os.
> > The usage of Docker-image-with-Erlang complicates the process of
> > distribution.
> > Best Regards,
> > Dmitry
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions