No matter what the program is about, it will always be useful, and no matter for what platform, PC or handheld.
The latest most difficult program I learned to compile was ZSNES 1.51 for DOS using DJGPP:
Code: Select all
make -f makefile.ms PLATFORM=dos
Use the very latest and full version of DJGPP, its bash port, and utilities.
ZSNES 1.51 source code:
https://sourceforge.net/projects/zsnes/files/zsnes/ZSNES%20v1.51/zsnes151src.tar.bz2/download
Information on compiling ZSNES 1.51 for DOS, Windows, Linux:
https://github.com/emillon/zsnes/blob/master/docs/install.txt
Compile 1.51 in DJGPP:
http://board.zsnes.com/phpBB3/viewtopic.php?f=6&t=137399&view=next
DJGPP 2.05 download and information:
http://devel.archefire.org/forum/viewtopic.php?hl=es&p=4306#p4306
http://www.zlib.net/zlib-1.2.11.tar.gz
https://sourceforge.net/projects/libpng/files/libpng14/1.4.21/lpng1421.zip/download
Add #include to stdio.h to all source files in the "tools/" directory that don't already include it, and also to parsegen.cpp in the root source directory.
Copy the libpng include files to the DJGPP include directory, no matter if you destroy it for other projects, you should modify a temporary install of DJGPP for this compilation. Do the same for zlib if any ZIP related errors appear during the compilation.
Edit the file makefile.ms and delete any -Ws GCC switch as DJGPP doesn't recognize it.
Also search for any -lpdcur occurrence and change it to -lpdc~1