Sylvain PILLOT bb8168ddb4 | ||
---|---|---|
cmake | ||
CMakeLists.txt | ||
Makefile.prizm | ||
README.md | ||
build | ||
cPNG1_5_30.cbp | ||
cPNG1_5_30.layout | ||
config.h | ||
example.c | ||
giteapc.make | ||
png.c | ||
png.h | ||
pngconf.h | ||
pngdebug.h | ||
pngerror.c | ||
pngget.c | ||
pnginfo.h | ||
pnglibconf.c | ||
pnglibconf.h | ||
pnglibconf.out | ||
pngmem.c | ||
pngpread.c | ||
pngpriv.h | ||
pngread.c | ||
pngrio.c | ||
pngrtran.c | ||
pngrutil.c | ||
pngset.c | ||
pngstruct.h | ||
pngtest.c | ||
pngtrans.c | ||
pngwio.c | ||
pngwrite.c | ||
pngwtran.c | ||
pngwutil.c |
README.md
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
andzconf.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