annotate zlib/os400/README400 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ZLIB version 1.2.11 for OS/400 installation instructions
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 1) Download and unpack the zlib tarball to some IFS directory.
kono
parents:
diff changeset
4 (i.e.: /path/to/the/zlib/ifs/source/directory)
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 If the installed IFS command suppors gzip format, this is straightforward,
kono
parents:
diff changeset
7 else you have to unpack first to some directory on a system supporting it,
kono
parents:
diff changeset
8 then move the whole directory to the IFS via the network (via SMB or FTP).
kono
parents:
diff changeset
9
kono
parents:
diff changeset
10 2) Edit the configuration parameters in the compilation script.
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh')
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 Tune the parameters according to your needs if not matching the defaults.
kono
parents:
diff changeset
15 Save the file and exit after edition.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 3) Enter qshell, then work in the zlib OS/400 specific directory.
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 QSH
kono
parents:
diff changeset
20 cd /path/to/the/zlib/ifs/source/directory/os400
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 4) Compile and install
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 sh make.sh
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 The script will:
kono
parents:
diff changeset
27 - create the libraries, objects and IFS directories for the zlib environment,
kono
parents:
diff changeset
28 - compile all modules,
kono
parents:
diff changeset
29 - create a service program,
kono
parents:
diff changeset
30 - create a static and a dynamic binding directory,
kono
parents:
diff changeset
31 - install header files for C/C++ and for ILE/RPG, both for compilation in
kono
parents:
diff changeset
32 DB2 and IFS environments.
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 That's all.
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36
kono
parents:
diff changeset
37 Notes: For OS/400 ILE RPG programmers, a /copy member defining the ZLIB
kono
parents:
diff changeset
38 API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC).
kono
parents:
diff changeset
39 In the ILE environment, the same definitions are available from
kono
parents:
diff changeset
40 file zlib.inc located in the same IFS include directory as the
kono
parents:
diff changeset
41 C/C++ header files.
kono
parents:
diff changeset
42 Please read comments in this member for more information.
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 Remember that most foreign textual data are ASCII coded: this
kono
parents:
diff changeset
45 implementation does not handle conversion from/to ASCII, so
kono
parents:
diff changeset
46 text data code conversions must be done explicitely.
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 Mainly for the reason above, always open zipped files in binary mode.