Comments (6)
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.
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.
compiled from the 0.6.1 release: rgbds.zip
from rgbds.
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.
The two latest majors (0.5.2 and 0.6.1) now have linux amd64 builds attached
from rgbds.
And thank you for that! o/
from rgbds.
Related Issues (20)
- why can't charmaps be 16-bit HOT 5
- Why canβt use newer 7.0version in nix HOT 3
- Security vulnerability through fuzzing HOT 1
- Allow a color in an inline palette spec to be `none`
- Make sure rgbasm and rgblink report "`<stdin>`" or "`<stdout>`" for `-` as appropriate
- Missing contributing documentation
- INCHARMAP doesn't always produce correct output HOT 1
- Refactoring and style cleanup with C++ HOT 3
- Don't `#include <stdbool.h>`
- Accept multiple exported constants if they agree on a value HOT 3
- Run `strip` on binaries before publishing them
- Associate sizes with labels, and add a new way to delimit those sizes HOT 3
- Check .sym file reported addresses and sorting HOT 4
- CI should verify ROM hashes for all projects
- .sym files are not sorted in ascending order
- Fix CI with Ubuntu 22.04 HOT 3
- `\@` in an `INCLUDE`d file increments at its EOF unless inherited from a parent context HOT 1
- Performance improvements for C++
- math.asm test failure with armv7a-unknown-linux-gnueabihf HOT 6
- can't build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgbds.