GithubHelp home page GithubHelp logo

Comments (6)

avivace avatar avivace commented on May 28, 2024 2

contrary to what https://rgbds.gbdev.io/install states, https://github.com/gbdev/rgbds/releases does not offer any linux binaries, 86_64 or otherwise; only macos x86-64, win32, win64, and the source code are listed.

I am sorry, this is my fault. I pushed the updated line saying we offer the builds but I still didn't find time to upload them. I made a dockerfile running what @ISSOtm suggested: https://github.com/gbdev/rgbds/blob/master/Dockerfile

So it should be enough to cherry pick the commit / tag you want, then either run directly the commands you see in the CI or have the Dockerfile do it for you.

I will get back to this today and start attaching to the releases at least the last 2 builds

from rgbds.

ISSOtm avatar ISSOtm commented on May 28, 2024 1

Indeed, those binaries are planned for the upcoming 0.7.0 release, and we want to make them retroactively available for previous releases as per #1148 (review), but nobody on the team has managed to find enough time for it yet.

Anyone willing to spend some time is welcome to build such binaries; please post in this thread if you need any assistance ^^

from rgbds.

Moth-Tolias avatar Moth-Tolias commented on May 28, 2024

compiled from the 0.6.1 release: rgbds.zip

from rgbds.

ISSOtm avatar ISSOtm commented on May 28, 2024

Thank you for your enthusiasm! However, these binaries are not statically linked:

% ldd rgbasm
./rgbasm: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./rgbasm)
    linux-vdso.so.1 (0x00007ffc459ca000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3532844000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3532600000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f3532a90000)

The binaries should be built with specific flags to avoid dynamically linking against as many libraries as possible (libm for RGBASM, libpng and zlib for RGBGFX), and against an old enough version of glibc for maximum compatibility. (Or, ideally, against musl libc--but that requires a fair bit of extra setup, so is not necessary).

I think the simplest workflow is to cherry-pick 1689508 against each of the target releases, and run the appropriate CI workflow (git tag vX.Y.Z then git push <remote> vX.Y.Z) on the forked repo. (Note that Actions must be enabled in the repo's settings, since they are disabled by default for forks.)

This is a little involved, but necessary to be compatible with as many Linux distributions as possible. Sorry!

from rgbds.

avivace avatar avivace commented on May 28, 2024

The two latest majors (0.5.2 and 0.6.1) now have linux amd64 builds attached

from rgbds.

ISSOtm avatar ISSOtm commented on May 28, 2024

And thank you for that! o/

from rgbds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.