Download Erlang for iOS

androiderlang

A pre-compiled version of Erlang for iOS are now available here: Erlang for iOS (1710)

Unzip the file and put the content in /usr/local/erlang on your iOS device.

Update!

I’ve now corrected the filenames in the /lib-directory.

An updated version of Erlang is available here now: Erlang iOS SSP255 Updated (1882) (The old version is available here: Erlang for iOS (1452)
The only change in this version is that the stack size pointer is set to 255 (Instead of 256) which seems to be working nice with iOS. If you have the old version of iOSErlang you have to give the argument +sss 255 to the ./erl command in order to run Erlang.

11 Comments on “Download Erlang for iOS

  1. Hallo! And thanks for this version !
    How can I compile this on a MacOSX Plateform ?

  2. Hi – thanks for the info and effort making this available…

    I downloaded the binaries and transfered the .tar file to my iPad (running iOS 4.3.3 – jailbroken). Did a tar -xvf there but unfortunately i get this error message when invoking ./erl:

    —————————————————————————-
    Petters-iPad:~ root# cd /usr/local/erlang
    Petters-iPad:/usr/local/erlang/bin root# ./erl
    {”init terminating in do_boot”,{‘cannot load’,error_handler,get_file}}

    Crash dump was written to: erl_crash.dump
    init terminating in do_boot ()
    Petters-iPad:/usr/local/erlang/bin root#
    —————————————————————————-

    Any idea what can possibly be wrong?

  3. Same here. iOS 5.0.1 on iPhone 4

    {”init terminating in do_boot”,{‘cannot load’,error_handler,get_file}}

    Crash dump was written to: erl_crash.dump
    init terminating in do_boot ()

  4. My iPad is elsewhere to the end of this week, but after that I will take a look. Can you send me the crash dump? niclas at burbas dot se

  5. i’ve tried to install erlang on my iPad and facing exactly same problem:
    {”init terminating in do_boot”,{‘cannot load’,error_handler,get_file}}

    Crash dump was written to: erl_crash.dump
    init terminating in do_boot ()

    Niclas, please advice.
    I’ve just unpacked archive to /usr/local/erlang and tried to run ./erl from bin dir.

    May be I forgot to add some permissions like chmod or smth else? Sorry for dumb questions, i’m newbie.

  6. Niclas, could you please correct the archive 352, because it contains wrong file names in the lib directory: the files have two ez extensions instead of just one. It is obviously wrong.
    So compiler-4.7.2.ez.ez should be named compiler-4.7.2.ez and so forth

  7. it helped me:
    cd lib; for a in *;do unzip $a && mv $a $a-0;done

  8. Hi, Niclas. Thank you very much for your article introduces, but I still encountered some problems.
    I according to your introduction, downloaded the file to my iPhone (running iOS 5.1.1 – jailbroken), and compressed file on/usr/local/Erlang directory, when I run ./erl from bin directory, it only returns ”Kill: 9” display.
    What is the problem?Not me missing something?