Skip to content
GameBoy Developer's Kit (GBDK) 2.96a from 2002 tuned so it can be compiled on a modern system (Ubuntu 18.04 LTS and 16.04 LTS).
C C++ HTML Assembly Makefile Emacs Lisp Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
gbdk-support Downloaded gbdk-2.96a.tar.gz from Nov 18, 2013
maccer maccer/Makefile: reordered gcc parameters Nov 21, 2013
sdcc SDCC.y: removed the "default" block causing issue #12 Apr 25, 2016
Makefile Added a touch for SDCC.y to bump its modification time (related to is… Apr 25, 2016 Updated Apr 25, 2016

Build Status


"The GameBoy Developer's Kit (GBDK), is a set of tools that enable to develop programs for the Nintendo GameBoy system, either in C or in assembly. GBDK includes a set of libraries for the most common requirements and generates image files for use with a real GameBoy or with an emulator like VGB or no$gmb. [...]

GBDK features:

  • An ANSI C compiler.
  • An assembler that generates relocatable code.
  • A peephole optimiser.
  • A linker that produces GameBoy image files.
  • Support for multiple-bank images.
  • Smart linking.
  • A set of libraries, with source code.
  • Example programs in assembly and in C."


Quick summary

The base version (2.96a) was downloaded from the official site. Although this is the latest version, it was released quite a while ago (back in April 2002).

The code can be compiled in an up-to-date 64-bit Linux environment (at least it is up-to-date here in 2016).

Original sites:


For the build I recommend an Ubuntu 16.04 LTS (you don't even need to install it, the Live system works just fine).

The environment will need a few packages, all of them can be installed using apt-get:

sudo apt-get -y install make gcc g++ bison flex

After downloading the source you can use the Makefile to compile the binaries:

cd /path/where/you/extracted

Installing the compiled binaries can be done via make as well:

sudo make install

Compiling the examples:

cd ./gbdk-lib/examples/gb

Note: compiling the examples requires you to install the binaries you just built in the previous steps.

You can’t perform that action at this time.