Lephenixnoir 4afe9228ec | ||
---|---|---|
cmake | ||
CMakeLists.txt | ||
Makefile.prizm | ||
README.md | ||
adler32.c | ||
build | ||
compress.c | ||
crc32.c | ||
crc32.h | ||
deflate.c | ||
deflate.h | ||
example.c | ||
giteapc.make | ||
gzclose.c | ||
gzguts.h | ||
gzlib.c | ||
gzread.c | ||
gzwrite.c | ||
infback.c | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
libczlib.a | ||
minigzip.c | ||
trees.c | ||
trees.h | ||
uncompr.c | ||
zconf.h | ||
zlib.h | ||
zutil.c | ||
zutil.h |
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