ZLIB version 1.2.7.1 for AS400 installation instructions
I) From an AS400 *SAVF file:
1) Unpacking archive to an AS400 save file
On the AS400:
_ Create the ZLIB AS400 library:
CRTLIB LIB(ZLIB) TYPE(*PROD) TEXT('ZLIB compression API library')
_ Create a work save file, for example:
CRTSAVF FILE(ZLIB/ZLIBSAVF)
On a PC connected to the target AS400:
_ Unpack the save file image to a PC file "ZLIBSAVF"
_ Upload this file into the save file on the AS400, for example
using ftp in BINARY mode.
2) Populating the ZLIB AS400 source library
On the AS400:
_ Extract the saved objects into the ZLIB AS400 library using:
RSTOBJ OBJ(*ALL) SAVLIB(ZLIB) DEV(*SAVF) SAVF(ZLIB/ZLIBSAVF) RSTLIB(ZLIB)
3) Customize installation:
_ Edit CL member ZLIB/TOOLS(COMPILE) and change parameters if needed,
according to the comments.
_ Compile this member with:
CRTCLPGM PGM(ZLIB/COMPILE) SRCFILE(ZLIB/TOOLS) SRCMBR(COMPILE)
4) Compile and generate the service program:
_ This can now be done by executing:
CALL PGM(ZLIB/COMPILE)
II) From the original source distribution:
1) On the AS400, create the source library:
CRTLIB LIB(ZLIB) TYPE(*PROD) TEXT('ZLIB compression API library')
2) Create the source files:
CRTSRCPF FILE(ZLIB/SOURCES) RCDLEN(112) TEXT('ZLIB library modules')
CRTSRCPF FILE(ZLIB/H) RCDLEN(112) TEXT('ZLIB library includes')
CRTSRCPF FILE(ZLIB/TOOLS) RCDLEN(112) TEXT('ZLIB library control utilities')
3) From the machine hosting the distribution files, upload them (with
FTP in text mode, for example) according to the following table:
Original AS400 AS400 AS400 AS400
file file member type description
SOURCES Original ZLIB C subprogram sources
adler32.c ADLER32 C ZLIB - Compute the Adler-32 checksum of a dta strm
compress.c COMPRESS C ZLIB - Compress a memory buffer
crc32.c CRC32 C ZLIB - Compute the CRC-32 of a data stream
deflate.c DEFLATE C ZLIB - Compress data using the deflation algorithm
gzclose.c GZCLOSE C ZLIB - Close .gz files
gzlib.c GZLIB C ZLIB - Miscellaneous .gz files IO support
gzread.c GZREAD C ZLIB - Read .gz files
gzwrite.c GZWRITE C ZLIB - Write .gz files
infback.c INFBACK C ZLIB - Inflate using a callback interface
inffast.c INFFAST C ZLIB - Fast proc. literals & length/distance pairs
inflate.c INFLATE C ZLIB - Interface to inflate modules
inftrees.c INFTREES C ZLIB - Generate Huffman trees for efficient decode
trees.c TREES C ZLIB - Output deflated data using Huffman coding
uncompr.c UNCOMPR C ZLIB - Decompress a memory buffer
zutil.c ZUTIL C ZLIB - Target dependent utility functions
H Original ZLIB C and ILE/RPG include files
crc32.h CRC32 C ZLIB - CRC32 tables
deflate.h DEFLATE C ZLIB - Internal compression state
gzguts.h GZGUTS C ZLIB - Definitions for the gzclose module
inffast.h INFFAST C ZLIB - Header to use inffast.c
inffixed.h INFFIXED C ZLIB - Table for decoding fixed codes
inflate.h INFLATE C ZLIB - Internal inflate state definitions
inftrees.h INFTREES C ZLIB - Header to use inftrees.c
trees.h TREES C ZLIB - Created automatically with -DGEN_TREES_H
zconf.h ZCONF C ZLIB - Compression library configuration
zlib.h ZLIB C ZLIB - Compression library C user interface
as400/zlib.inc ZLIB.INC RPGLE ZLIB - Compression library ILE RPG user interface
zutil.h ZUTIL C ZLIB - Internal interface and configuration
TOOLS Building source software & AS/400 README
as400/bndsrc BNDSRC Entry point exportation list
as400/compile.clp COMPILE CLP Compile sources & generate service program
as400/readme.txt README TXT Installation instructions
4) Continue as in I)3).
Notes: For AS400 ILE RPG programmers, a /copy member defining the ZLIB
API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC).
Please read comments in this member for more information.
Remember that most foreign textual data are ASCII coded: this
implementation does not handle conversion from/to ASCII, so
text data code conversions must be done explicitely.
Mainly for the reason above, always open zipped files in binary mode.
没有合适的资源?快使用搜索试试~ 我知道了~
zlib-1.2.7.1.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 18 浏览量
2024-06-23
15:28:59
上传
评论
收藏 560KB GZ 举报
温馨提示
zlib是提供数据压缩用的函式库,由Jean-loup Gailly与Mark Adler所开发。 zlib初版0.9版在1995年5月1日发表。zlib使用DEFLATE算法,最初是为libpng函式库所写的,后来普遍为许多软件所使用。此函式库为自由软件,使用zlib授权。截至2007年3月,zlib是包含在Coverity的美国国土安全部赞助者选择继续审查的开源项目。
资源推荐
资源详情
资源评论
收起资源包目录
zlib-1.2.7.1.tar.gz (247个子文件)
miniunzip.1 2KB
minizip.1 1KB
zlib.3 4KB
README.686 2KB
configure.ac 788B
zlib.adb 20KB
test.adb 13KB
zlib-streams.adb 6KB
mtest.adb 4KB
read.adb 4KB
buffer_demo.adb 4KB
zlib-thin.adb 3KB
zlib-thin.ads 15KB
zlib.ads 13KB
zlib-streams.ads 4KB
Makefile.am 818B
gvmat64.asm 16KB
inffas32.asm 16KB
match686.asm 15KB
inffasx64.asm 10KB
bld_ml32.bat 92B
bld_ml64.bat 86B
bndsrc 8KB
Makefile.bor 3KB
Makefile.bor 3KB
DotZLib.build 1KB
deflate.c 70KB
unzip.c 69KB
zip.c 64KB
inflate.c 52KB
trees.c 43KB
gzlog.c 40KB
inffas86.c 40KB
puff.c 37KB
gun.c 25KB
infcover.c 24KB
enough.c 24KB
infback.c 22KB
infback9.c 21KB
gzread.c 18KB
miniunz.c 17KB
blast.c 17KB
gzappend.c 17KB
example.c 16KB
untgz.c 16KB
gzlib.c 16KB
gzwrite.c 16KB
minigzip.c 15KB
zran.c 15KB
minizip.c 15KB
gzjoin.c 14KB
inffast.c 13KB
inftree9.c 13KB
crc32.c 13KB
inftrees.c 13KB
iowin32.c 12KB
fitblk.c 8KB
ioapi.c 8KB
mztools.c 8KB
testzlib.c 7KB
inffas8664.c 7KB
zutil.c 7KB
zpipe.c 6KB
adler32.c 5KB
pufftest.c 5KB
compress.c 2KB
uncompr.c 2KB
gzclose.c 678B
zfstream.cc 13KB
test.cc 1KB
ChangeLog 74KB
DotZLib.chm 71KB
compile.clp 5KB
zconf.h.cmakein 15KB
zlib.pc.cmakein 294B
make_vms.com 26KB
make_vms.com 901B
configure 25KB
README.contrib 3KB
zfstream.cpp 5KB
zstream_test.cpp 711B
test.cpp 526B
GZipStream.cs 11KB
DotZLib.cs 10KB
ChecksumImpl.cs 8KB
UnitTests.cs 8KB
CodecBase.cs 6KB
Deflater.cs 4KB
Inflater.cs 4KB
AssemblyInfo.cs 2KB
CircularBuffer.cs 2KB
DotZLib.csproj 5KB
zlibvc.def 7KB
zlibvc.def 7KB
zlibvc11.def 7KB
zlibvc.def 7KB
zlib.def 1KB
zlib.def 778B
Makefile.dj2 3KB
Makefile.emx 1KB
共 247 条
- 1
- 2
- 3
资源评论
ssxueyi
- 粉丝: 448
- 资源: 343
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功