Replies: 4 comments 9 replies
-
Regarding the first point, you can install the riscv64-linux-musl-cross toolchain to cross-compile binaries for oc2 computers (they run buildroot in a riscv virtual machine). For C it's OK, but you're going to have a hard time trying to run a more "modern" language because of the space limitations (libstdc++, for example, takes 16.8MB) |
Beta Was this translation helpful? Give feedback.
-
regarding point 1, the VMs are literally just regular VMs running linux, you can run anything on there if you can compile it to RISC-V. and for compiling to it, you just need to cross-compile to RISC-V. you can even run Rust programs on there, but its harder to use compiled languages because you need to crosscompile every time, so thats why micropython and lua is used. |
Beta Was this translation helpful? Give feedback.
-
its a bit to setup but you can compile c. the toolchain i used is riscv64-linux-musl-cross and download riscv64-linux-musl-cross.tgz |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi
Edit
Sounds like it's completely possible to build binaries on a different machine and then export to the game (going to follow that link when I get home). Perhaps an external tool that can export a file to a disk in game without having to select it with
import.lua
?Beta Was this translation helpful? Give feedback.
All reactions