cPNG/README.md

20 lines
795 B
Markdown
Raw Normal View History

2022-05-03 23:24:25 +02:00
# Zlib 1.2.5 sources for Gint
Need to have a fully working gcc toolchain for SH3/SH4 architecture.
Compilation is done by using the adhoc Makefile :
`make -f Makefile.prizm` in the main directory
It should produce the library libczlib.a
The following steps are not automatically done, so please proceed with the following manipulations :
* copy the library `libczlib.a` into your SH3/SH4 compiler lib folder
* copy `zlib.h` and `zconf.h` files contained in the include folder into the include folder of the SH3/SH4 compiler
You can also use the `gitea install Slyvtt/cZlib1_2_5` command to get an automatic install
when you compile a program for use with Zlib, do not forget to add a `-lczlib` option in your compilator command line.
and then a `#include <zlib.h>` in your C/C++ sources