ZLIB version 1.2.3 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
gzio.c GZIO C ZLIB - IO on .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
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.
Always open zipped files in binary mode.
没有合适的资源?快使用搜索试试~ 我知道了~
minix_source_3_1_1_complete.rar_minix_minix 3 源代码
共2630个文件
c:966个
s:442个
h:335个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 122 浏览量
2022-09-21
03:49:06
上传
评论
收藏 3.23MB RAR 举报
温馨提示
minix操作系统最新版本(3.1.1)的源代码,不在纯脆用于教学,主要面向嵌入式应用,功能齐全
资源推荐
资源详情
资源评论
收起资源包目录
minix_source_3_1_1_complete.rar_minix_minix 3 源代码 (2630个子文件)
flexdoc.1 64KB
ash.1 36KB
bc.1 31KB
acd.1 22KB
flex.1 20KB
cawf.1 19KB
patch.1 17KB
cc.1 15KB
telnet.1 11KB
host.1 10KB
sed.1 10KB
yap.1 9KB
sz.1 7KB
expr.1 7KB
cp.1 5KB
xargs.1 5KB
remsync.1 5KB
stty.1 5KB
rget.1 4KB
man.1 4KB
install.1 4KB
elvis.1 4KB
mail.1 4KB
ref.1 4KB
ls.1 4KB
vol.1 4KB
mkfs.1 3KB
synctree.1 3KB
ctags.1 3KB
rlogin.1 3KB
mt.1 3KB
find.1 3KB
bsfilt.1 3KB
term.1 2KB
mdb.1 2KB
yacc.1 2KB
rz.1 2KB
rcp.1 2KB
crontab.1 2KB
stat.1 2KB
date.1 2KB
chmod.1 2KB
finger.1 2KB
rsh.1 2KB
make.1 2KB
join.1 2KB
fsck.1 2KB
chmem.1 2KB
env.1 2KB
ps.1 2KB
diff.1 2KB
elvrec.1 2KB
df.1 2KB
ed.1 2KB
dd.1 2KB
cut.1 2KB
format.1 2KB
sort.1 2KB
svc.1 2KB
ar.1 2KB
lp.1 1KB
touch.1 1KB
echo.1 1KB
calendar.1 1KB
paste.1 1KB
su.1 1KB
anm.1 1KB
tget.1 1KB
ifdef.1 1KB
uue.1 1KB
tar.1 1KB
compress.1 1KB
grep.1 1KB
mkproto.1 1KB
easypack.1 1KB
dosdir.1 1KB
last.1 1KB
tr.1 1KB
modem.1 1KB
nm.1 1KB
uname.1 1KB
at.1 1KB
postmort.1 1KB
uniq.1 1KB
isodir.1 1KB
mixer.1 1KB
passwd.1 1KB
pr.1 1KB
hostaddr.1 1KB
isoread.1 1KB
od.1 1020B
chgrp.1 1013B
readall.1 1005B
fgrep.1 985B
template.1 964B
template.1 964B
cgrep.1 954B
tail.1 947B
who.1 895B
mount.1 872B
共 2630 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27
资源评论
邓凌佳
- 粉丝: 65
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功