<div dir="ltr">Looks like I'll have to compile from source - Embedded Erlang is not what I need because it includes its-own embedded Linux, and I need to install on an existing Linux.<div><br></div><div>Can someone who has done this before be as kind as writing a minimal how-to for cross-compiling Erlang to ARM?</div>
<div><br></div><div>Thanks again,</div><div> Guy<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 5:16 PM, Paulo Ferreira <span dir="ltr"><<a href="mailto:pdf@isep.ipp.pt">pdf@isep.ipp.pt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5"><br>
On 2011/09/19, at 09:14, Guy Wiener wrote:<br>
<br>
> Hello Erlangers,<br>
> I am checking an option to use Erlang to control a Linux-based device (a programmable helicopter). Is there an efficient port of Erlang that works on top of an ARM9 processor? If so, the usage scenario will be many processes running on a single node, with frequent message-passing, some access to binary files, and no shared data (no ETS, DETS or Mnesia). Is this scenario likely to perform well on an embedded Erlang?<br>
><br>
> Thanks,<br>
> Guy Wiener,<br>
> Dept. of Computer Science and Applied Math,<br>
> Weizmann Institute for Science.<br>
<br>
<br>
</div></div>Well, just it just compiles from source well.<br>
<br>
I have experience using a S3C2440 board at 400 Mhz and on some informal benchmarks ( ring ) it is just 7 times slower than a 2,2 Ghz core 2 Duo Mac book.<br>
<br>
>From other erlang embedded experiences:<br>
<br>
How do you control the hardware in C? Linux device drivers are very slow, when compared to direct memory access.<br>
Doing NIFs and dynamic libs may be hard.<br>
ARM processors are usually supported by the latest gcc version, and that is VERY good for Erlang porting.<br>
If you try to compile Erlang with an older gcc version, you may get all the kind of "strange and wonderful" errors.<br>
Check the gcc version of your toolchain!<br>
<br>
<br>
My best regards<br>
<font color="#888888"><br>
Paulo Ferreira<br>
</font><br>
P.S.: Please replace "strange and wonderful" by the suitable words in your native language....<br>
<br>
</blockquote></div><br></div></div>