Category: Programming

Download Erlang for iOS

Av , 12 april 2011 22:00

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

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

Update!
An updated version of Erlang is available here now: Erlang for iOS (297)
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.

Distributed server for Minecraft

Av , 17 november 2010 23:56

Me and a friend of mine talked about how bad the performance of the Minecraft server was and its lack of scaling. We thought on how we could solve this with Erlang, and the outcome of that discussion is the Minecraft-sERLver. It’s not by any means finished, but it’s a nice project with lots of interesting challenges.

Check out the project on github: https://github.com/burbas/Minecraft-sERLver

Erlang for Android now available for download

Av , 07 november 2010 15:58

You can now download an Erlang package for the Android platform. The package is available  here togheter with installation instructions.

Socius is now running on Android phones

Av , 07 november 2010 3:50

My master thesis, as I named ”Socius”, is almost complete. Socius is an application that enables mobile devices to automatically share files between each other. It’s completely written in Erlang and today I got it running on the Android platform. I will post a more detailed post about Socius and what it can do.

Erlang for Android

Av , 10 oktober 2010 23:11

I’ve completed my port of Erlang to Android. A lot of the inspiration was given from apage43 OTP-repository on github. I have also done an android application which installs erlang onto your phone. This is a part of my master thesis and will be available sometimes in the beginning of November.

It’s not a complicated, but rather a time consuming work to make an installer (at least it was for me) for an erlang release that will run on an android phone. I’m hoping to maybe write a tool that does all of that so the developer does not have to do this. Right now it’s just a thought from my side, but if anyone else would be interested in developing such a tool, feel free to contact me :-).

A good solution when crosscompiling for arm

Av , 15 september 2010 21:14

I’ve been trying to get a working enviroment for crosscompiling to the arm architecture and at first it was just so much overhead on order to get it working. Then I discovered a very interesting project on github. This project provides you with a script who installs all tools needed when crosscompiling.

The project is, as mentioned, hosted on github: http://github.com/esden/summon-arm-toolchain

Erlang port to Android/iOS

Av , 14 september 2010 1:11

I have now received a HTC Desire and an iPad and am hoping to get my ports to work. I have an Android version of Erlang ready, but have not tested it yet. The Erlang iOS-port have not been started yet, but hopefully it wont take long until you can run your favourite Erlang-programs on an iPhone.

Howto: Compile android under Ubuntu 10.04

Av , 16 maj 2010 21:27

After a couple of hours and a large effort I finally got Android to compile under Ubuntu 10.04. I thought a howto would come in handy for people in the same situation.

First you have to install Java SDK 1.5. You can find it on:
http://java.sun.com/javase/downloads/index_jdk5.jsp

Then get the android source code. It can be found here:
http://source.android.com/download#TOC-Installing-Repo


After you have unpacked it you need to set your path:

$ export PATH=/path/to/jdk1.5/bin/:`echo $PATH`

Then you need to get some packets:

$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev lib32readline5-dev

Then you need to link libstdc++ and libz:

$ sudo ln -s /usr/lib32/libstdc++.so.6 /usr/lib32/libstdc++.so
$ sudo ln -s libz.so.1 libz.so

And export the ANDROID_JAVA_HOME-variable to the root of the JDK 1.5.

$ export ANDROID_JAVA_HOME=/path_to_your_jdk1.5_root/

And hopefully that’s it. Try and run ”make” in your android catalog.

Update

The easiest was to compile Android is to run Ubuntu 9.04 inside a virtual machine and compile it from there. Ubuntu 10.x is running eglibc which, when compiling android, causes a lot of errors due to fprintf.

Panorama Theme by Themocracy