Step 1:
Download and install a cross compiler.
In the Makefile of the source, you should be able to replace "CC=gcc" with "CC=/path/to/arm-gcc" and "CXX=g++" with "CXX=/path/to/arm-g++"
Step 2: Run make.
Step 3: Fix anything that didn't work.
Step 4: repeat steps 2 and 3 until it works.
You will most definitely be missing some libraries as well. You may be able to download ARM versions directly, or it may be easier to just get the source and make them. As an immediate guess, you'll probably have a problem with OpenGL. We do not have OpenGL on the Pandora: we have OpenGLES, a subset of OpenGL intended for embedded systems. Your first big step will be to obtain the OpenGLES dev library and then rewrite anything in the source that is OpenGL specific to be OpenGLES. That is likely to be quite a large pain, I'm sorry to say.
Alternatively to step 1 (and the step of having to build libraries yourself) it is possible to (and some people insist on exclusive use of) build directly on the Pandora. In order to get a compiler, you'll need to install some stuff to NAND. The following will get you going:
Code:
sudo opkg update
sudo opkg install gcc
sudo opkg install make
sudo opkg install libsdl-1.2-dev
Someone else will have to tell you how to get the openGLES library, because I still haven't figured out how to do it right.
Otherwise, you can then just perform steps 2-4 directly on your Pandora. If it says you are missing a library, go to
the Angstrom repo and see if a development version of that library already exists. If not, you may be able to build it yourself.