Skip to content

Developer Getting Started: GCW Zero

Cong edited this page Feb 17, 2016 · 7 revisions

The GCW-Zero is an open-source handheld console, that runs a customized Linux environment.

Therefore most of the instructions from the Linux guide also apply and this page will only list the differences.

Prerequisites

Instead of installing the SDL libraries for your host machine, you need to setup the GCW-Zero Toolchain, it will include the needed libraries.

Instructions and download here: http://www.gcw-zero.com/develop Reproduced here for convenience:

Download the latest toolchain

Become root

Run the following commands:

mkdir -p /opt
cd /opt
tar jxvf /path/where/you/downloaded/opendingux-gcw0-toolchain.date.tar.bz2

You will also need to install gcc-multilib (or ia32-libs for older linuxes), if you are running a 64-bit OS.

Clone repo

No differences.

Run CMake and build

  1. Simply run make_gcw0.sh.

There should be a cdogs-sdl.opk file now that can be deployed to your device.