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

Free and Open Source Software

17933 readers
72 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 10 comments
sorted by: hot top controversial new old
[–] skullgiver@popplesburger.hilciferous.nl 15 points 6 months ago (1 children)

The project has build instructions for building your own copy. These are terminal commands.

You may need to install additional software if you get "command not found" errors. If you Google the exact error messages + the name of your distro, you should find out how to install that. The instructions seem comprehensive, though.

[–] sleepybisexual@beehaw.org 3 points 6 months ago (1 children)

Thank you. BTW, what's Linux mint based on?

[–] skullgiver@popplesburger.hilciferous.nl 6 points 6 months ago (2 children)

Mint is based on Ubuntu, so the Ubuntu steps should work. I'm not sure what version of Ubuntu the latest version of Mint is based on, though. You can probably find that info somewhere on the Mint website.

[–] ugo@feddit.it 2 points 6 months ago

I thought mint was switching to a debian base but it looks like I am mistaken. While LMDE exists, it’s still not the default.

Got the feeling that’s probably gonna change soonish, we’ll see.

[–] sleepybisexual@beehaw.org 2 points 6 months ago

I know its ubuntu base, was wondering if 22.04 or something else, I'll look

[–] 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@beehaw.org 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.