How do I build my own software from source? - eviltoast

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?

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    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.

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        6
        ·
        6 months ago

        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
          link
          fedilink
          arrow-up
          2
          ·
          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.

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    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.

    • joes@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      ·
      6 months ago

      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.