Installation

Windows

Download the latest release package from gbsdk-winenv and extract it somewhere.

Running the gbsdk-bash.exe will give you a commandline shell where you can do builds (all required tools are installed in this)

Alternatively, install WSL (if you have Windows 10 or 11) and follow the linux setup.

Linux

You'll need to install the following tools, everything can be newer then the specified versions, specified versions are minimal known working versions.

  • python 3.6
  • sdcc 4.2.0
  • rgbds 0.5.1

Assuming a debian based system, you'll need the following steps:

# Install package from the package manager
sudo apt-get install python3 build-essential bison libboost-dev libpng-dev flex texinfo pkg-config

# Get and build sdcc
wget https://sourceforge.net/projects/sdcc/files/sdcc/4.2.0/sdcc-src-4.2.0.tar.bz2/download -O sdcc-src.tar.bz2
tar -xjvf sdcc-src.tar.bz2
cd sdcc-4.2.0
./configure --disable-pic14-port  --disable-pic16-port
make -j$(nproc)
sudo make install
cd ..

# Get and build rgbds
wget https://github.com/gbdev/rgbds/releases/download/v0.5.1/rgbds-0.5.1.tar.gz -O rgbds-src.tar.gz
tar -xzvf rgbds-src.tar.gz
cd rgbds
make
sudo make install
cd ..

MacOS

Seriously. No clue, follow Linux installation mostly, I guess. Something something brew instead of apt-get?