this post was submitted on 14 May 2024
34 points (100.0% liked)

Free and Open Source Software

17960 readers
15 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I'm trying to get tic80 working on RIScv but i ll need to build a custom version cos there are no prebuilts, how do I go about this?

top 8 comments
sorted by: hot top controversial new old
[–] lemmyreader@lemmy.ml 6 points 6 months ago* (last edited 6 months ago)

You can try to follow the build instructions like mentioned in another comment but be aware that you are trying to build for a platform which has as far as I can see no official ~~support~~ compile instructions for the software. YMMV.

[–] sabreW4K3@lazysoci.al 3 points 6 months ago* (last edited 6 months ago) (1 children)
[–] joes@lemmy.dbzer0.com 11 points 6 months ago (1 children)

Hence the need to build themselves. It boils down to: download the source, install the dependencies, (configure,) compile, install. In this case, you need make/cmake. You could also crosscompile (on another machine), but that's trickier. If you've never compiled something yourself, maybe start with a known-good configuration from your distribution's sources.

[–] sleepybisexual 2 points 6 months ago (1 children)

I've never compiled anything but time is not an issue. Will try follow some instructions.

Tho can I compile for riscv on my x88_64 laptop?

[–] Successful_Try543@feddit.de 3 points 6 months ago

What you are intending to do is cross-compiling. Maybe this resource is useful for you.