- Turns out the variable wasn't being set, and thus the flags weren't being passed - Passing the flags via those variables is basically a bad idea, and it turns out to break libpng's config script - The flags need to be passed during link as well, otherwise the binary isn't linked as a fat one
RGBDS
RGBDS (Rednex Game Boy Development System) is a free assembler/linker package for the Game Boy and Game Boy Color. It consists of:
- RGBASM (assembler)
- RGBLINK (linker)
- RGBFIX (checksum/header fixer)
- RGBGFX (PNG-to-Game Boy graphics converter)
This is a fork of the original RGBDS which aims to make the programs more like other UNIX tools.
This toolchain is maintained on GitHub.
The documentation of this toolchain can be viewed online, including its basic usage and development history. It is generated from the man pages found in this repository. The source code of the website itself is on GitHub as well under the repository rgbds-www.
If you want to contribute or maintain RGBDS, please read our contribution guide.
If you have questions regarding the code, its organization, etc. you can find the maintainers
on the GBDev community channels or via mail at rgbds at gbdev dot io.
Installing RGBDS
The installation procedure is available
online for various platforms. Building from source
is possible using make or cmake; follow the link for more detailed instructions.
make
sudo make install
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build
Two parameters available when building are a prefix (e.g. to put the executables in a directory) and a suffix (e.g. to append the version number or commit ID).
make
sudo make install PREFIX=install_dir/ SUFFIX=-$(git rev-parse --short HEAD)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSUFFIX=-$(git rev-parse --short HEAD)
cmake --build build
cmake --install build --prefix install_dir
(If you set a SUFFIX, it should include the .exe extension on Windows.)