libpng for DS
Ok, I’ve packged up libpng and zlib for use on the DS. I also included a small makefile which should build both of them and install them for use. Please let me know if it does not work for you.
http://davr.org/ds2/libpng_ds.tgz
Basically, I only had to comment out one line in libpng (but man did it take me a while to find that line), in the png_zalloc() function, and then I changed the makefiles to use arm-elf-gcc instead of gcc (same for ranlib, ar)

Could you post an example of use?
Comment by nornagon — September 14, 2006 @ 12:46 am
How big is the compiled library? and does it let you override the memory allocation stuff it uses?
Comment by punto — February 18, 2007 @ 11:44 am