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