I was wanting to develop for the Caanoo…

I love this console and I more than mourned that the company behind it died…
I would have loved them to release the next one (Gp2x, Wiz, Caanoo, …)…

So as GPH went into bankruptcy it became hard to find development kit, documentation and support…

And I had hard time to gather helpful information and to end up with a solution.

So here is what I did (if it can help some one else):
– I installed a virtual machine on my Mac with Ubuntu 14.04
– I’ve downloaded the Official Caanoo SDK for Linux (found on various internet places, such as openhandhelds) and extracted it to ‘home’ directory (as ‘~/GPH_SDK’)

Now the main issue is that computers nowadays are using a 64 bits architecture.
And we need to cross compile using these 32 bits tools. Thus we need to allow multiarch possibilities like this:

echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

You can now run the gnueabi tools on your computer:

$ ~/GPH_SDK/tools/gcc-4.2.4-glibc-2.7-eabi/bin/arm-gph-linux-gnueabi-cpp --version

what returns:

arm-gph-linux-gnueabi-cpp (GCC) 4.2.4

You can even then add the followings to your makefile:

CROSS_COMPILE = $(GPH_SDK)/tools/gcc-4.2.4-glibc-2.7-eabi/bin/arm-gph-linux-gnueabi-
CC = $(CROSS_COMPILE)gcc
CPP = $(CROSS_COMPILE)g++

And voilà you can now cross compile for the Caanoo!!