[erlang-questions] Erlang on RISC-V

Mikael Karlsson karlsson.rm@REDACTED
Thu Apr 26 22:34:23 CEST 2018

Hi again,
just an update on RISC-V and Erlang.
It seems there is already a fedora project for RISC-V:

So following instructions from the wiki, downloading diskimage and
getting a proper QEMU going one can install erlang after booting:

[root@REDACTED ~]# dnf install erlang
[root@REDACTED ~]# uname -a
Linux stage4.fedoraproject.org 4.15.0-00044-g2b0aa1de45f6 #24 SMP Sat
Apr 21 11:50:47 UTC 2018 riscv64 riscv64 riscv64 GNU/Linux
[root@REDACTED ~]# erl
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:4:4] [ds:4:4:10]
[async-threads:10] [kernel-poll:false]

Eshell V9.3  (abort with ^G)
1> 11.0 / 7.

"Right out of the box". Best would of course be to burn your own FPGA,
cross-compile complete nerves-project and install....

2018-02-20 15:07 GMT+01:00 Mikael Karlsson <karlsson.rm@REDACTED>:
> Thanks for the info Mikael and Matthias.
>>> What do you mean by "the Erlang compiler"?
> I guess I meant the VM, I haven't posted to the posted to the list for
> a while and so lost some of my stringency.
> Thanks for setting me back on track. :-).
>>There is also that HiPE/LLVM thing which might be able to support RISC-V with less effort.
> OK, so maybe some involvement of the compiler anyway.
> Seems there is a RISC-V backend for LLVM in the works.
> https://github.com/lowRISC/riscv-llvm
> Mikael K

More information about the erlang-questions mailing list