1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
__________________________________________________________________________
This is the Info-ZIP file INSTALL (for UnZip), last updated 27 Feb 2005.
__________________________________________________________________________
Yes, this is a rather long file, but don't be intimidated: much of its
length is due to coverage of multiple operating systems and of optional
customization features, large portions of which may be skipped.
__________________________________________________________________________
To compile UnZip, UnZipSFX and/or fUnZip (quick-start instructions):
========================================
(1) Unpack everything into a work directory somewhere, and make sure you're
in the main UnZip directory (the one with this file in it).
* (See note below concerning line termination format used in the source
distribution)
(2) Copy the appropriate makefile into the current directory, except under
OS/2.
(3) Run your "make" utility on the makefile (e.g., "nmake -f makefile.msc").
(4) Try out your new UnZip the way you would any new utility: read the
docs first.
Ah ha ha ha!! Oh, that kills me. But seriously...for VMS, UnZip must
be installed as a "foreign symbol"; see the Install section below or
[.vms]readme.vms for details. (It basically involves adding a line
sort of like this to login.com: $ unzip == "$disk:[dir]unzip.exe")
For DOS and other OSes without explicit timezone support (i.e., everybody
but Unix, Windows 95 and NT), make sure the "TZ" environment variable is
set to a valid and reasonable value; see your compiler docs for details.
(*) The unzip sources as well as other Info-ZIP source archives are packaged
in Unix format. All text files use single LF (Ascii 0x0a) characters as
line terminators. On systems that use different conventions for plain text
files (e.g.:DOS,Win9x,WinNT,OS/2 -> combined CR+LF; MacOS -> single CR),
some utilities (editors, compilers, etc.) may not accept source files
with LF line terminators.
For these systems, we recommend to use Info-ZIP's UnZip utility for
extraction of our distribution archives, applying the command option
"-a" (= translate text files to native format) in the extraction command.
In case this procedure is not applicable, an appropiate third-party
conversion utility may be used to achieve the desired line termination
style (examples: "flip", available for Unix, DOS, OS/2; or "tr" on Unix).
To compile UnZip, UnZipSFX and/or fUnZip (detailed instructions):
========================================
(1) Unpack *.c and *.h (the actual source files), preserving the directory
structure (e.g., ./unix/unix.c). The sole exception is TOPS-20, where
tops20/* should be unpacked into the current directory, but TOPS-20
is no longer fully supported anyway.
As of UnZip 5.41, full decryption support has been integrated in the
UnZip source distribution. If you wish to compile binaries without
decryption support, you must define the preprocessor flag NO_CRYPT.
For many environments, you may add this flag to the custom compilation
flags supplied by the environment variable LOCAL_UNZIP. For more
details, see the make procedures and accompanied documentation for your
particular target OS.
INSTALL 2020/8/7 14:13
Page 1 of 10