[erlang-questions] Creating .EXE from Erlang Application in Windows 7
Fred Hebert
mononcqc@REDACTED
Thu Oct 23 17:22:27 CEST 2014
On 10/23, Rohan Sarker wrote:
> Dear list members.
>
> My requirement is that I had an Erlang Source File named as helloworld.erl whch
> I can compile in werl application as:
>
> c(helloworld).
>
> [...]
>
> Step N: helloworld.exe file is generated which on double click does the
> functionality as mentioned in the Erlang Code. This .exe file can be distributed
> without Erlang Installation preferably.
>
Hi, a single executable .exe is not directly possible this easily with
Erlang. What you can have however, is one redistributable release that
will be self-contained.
There are many ways to do it. I've tried documenting some in
http://learnyousomeerlang.com/release-is-the-word (which I believe
should be platform-agnostic for the most part), but it tends to depend
on prior knowledge of other bits of the Erlang ecosystem.
I've made a quick overview of it in http://howistart.org/posts/erlang/1
-- although this bit uses Relx, a different build tool altogether.
Other options exist, but would require an Erlang install to be present
already.
Regards,
Fred.
More information about the erlang-questions
mailing list