PLEASE NOTE: This is an old post, and it's now recommended to use the new SDK at http://code.google.com/p/dingoo-sdk/
This guide will help you to compile apps for the native dingoo OS (not linux) without the use of the SDK (except entry.a).
Thanks goes out to flatmush for helping me with this, and for creating these libraries we're going to use.
--- Files to download ---
(SameGoo includes more things such as sound)
--- Installation ---
During the setup of Cygwin, you will need to select additional packages under the category devel. I don't know exactly which ones you'll need since I was lazy and just picked the whole devel category. I know for sure you at least need to select "make".
You will need to add the Cygwin bin folder to your PATH environment variable. If you installed Cygwin in the default directory, that would be C:\cygwin\bin.
Unpack it into your cygwin directory and call it mipseltools. The folder mipseltools should have bin, include etc in it.
You have to add the bin directory of mipseltools to your PATH aswell. If you're using the default directories, that would be C:\cygwin\mipseltools\bin.
You will also need two additional environment variables as below:
MIPSLIB = "c:/cygwin/mipseltools/lib"
MIPSTOOLS = "c:/cygwin/mipseltools/include"
(note: you need either frontslash or double backslashes here)
Finally go to the directory C:\cygwin\mipseltools\lib\gcc\mipsel-linux\4.1.2 and copy the file libgcc.a to C:\cygwin\mipseltools\lib.
* AstroLander or SameGoo
Just unpack it where ever your want.
--- Compile ---
Open up a command prompt and point it to the compile folder for your chosen game.
Run rebuild. If everything goes well you will not see any errors and you should end up with a target.app file.
dlmake produces some weird characters during the end of the compile but it's nothing to worry about.
--- Try it on the Dingoo ---
Copy over target.app to somewhere on your Dingoo. You may rename it if you wish.
For Astrolander, also copy font.tga and splash.tga from the data directory (inside the compile directory) to the same directory as target.app
--- Things to keep in mind ---
Be careful and make sure you free all allocated memory when you exit your application, otherwise it will cause newer Dingoos to crash. The OS does not automatically reclaim allocated memory.
--- FAQ ---
Q: How to fix "No medium found" errors?
A: Put a disk in your D drive (CD drive) and try again. (Thanks to HnkyTnkButcher)
Q: How to make SIM-files?
A: Have a look at the source of the Gnuboy port