Notes: Zip
Compilation
The build procedure [.vms]build_zip.com may be customized in two different
ways. On the one hand the script may be called with commandline parameters.
On the other hand the compilation may be influenced by defining the
global symbol LOCAL_ZIP.
Command line parameters
build_zip.com accepts the following parameters in arbitraary order:
- LARGE
- Enable Large file support (> 4 GB)
- NOHELP
- Suppress help file processing
- NOMSG
- Suppress message file processing
- LINK
- Only link pre-existing object, do not compile from sources
- LIST</further_opt>
- Adding LIST (and associated other options like /SHOW=all) to the compile
command.
Note: LIST does not have a leading / . If you do want to add further options
the string either needs to be enclosed in quotes or may not contain spaces.
- CCOPTS=xxx
- Allows to specify options to the compile command.
Note: The string either needs to be enclosed in quotes or may not contain
spaces.
- LINKOPTS=xxx
- Allows to specify options to the link command.
Note: If this option is not passed, link/notraceback will be used by defauls.
If any link options are defined via LINKOPTS, they will be exactly used, i.e.
if you do want to link without traceback in this case you do need to list it
explicitly. The string either needs to be enclosed in quotes or may not contain
spaces.
- IZ_BZIP2=<path>
- Path to the header file (bzlib.h) for BZip2lib. The associated object library
(libbz2_ns.olb) is supposed to be either there or in a architecture specific
sub directory of path (e.g. [.alphal])
- DECC, GNUC, VAXC
- The standard Behaviour of make_zip.com is to check the automatically
for the available C compilers. Prefernce in this case is:
DEC C (the only compiler supported on OpenVMS Alpha), GNU C, and
VAX C. If you pass one of the parameters above, usage of a
specific compiler is enforced.
- VMSCLI, CLI
- This parameter only has a minor effect. After finishing the
compilation, four symbols are defined and displayed for reference
in make_zip.com for the various programs created. If this parameter
is set, the versions with the VMS-like parameter processing are
shown.
- NOVMSCLI, NOCLI
- See above, but the version with the Unix-like parameter processing
is shown (this is the default).
LOCAL_ZIP
The global symbol LOCAL_ZIP may contain a come separated
list of options. Make_zip.com analyzes the symbol and passes the
contents as a define statement to the C compiler.
- VMSCLI
- See above at VMSCLI.
- VMS_IM_EXTRA/VMS_PK_EXTRA
- Information about extended OpenVMS file attributes may be saved
either in the IM or PK format. If support for indexed files is
needed, VMS_PK_EXTRA has to be defined (which is the default).
If compatibility to old UnZip versions is required , VMS_IM_EXTRA
should be defined.
- USE_EF_UT_TIME/NO_EF_UT_TIME
- Timestamps in Zip (archiving/changes) should be saved in UTC(GMT).
This is the default for OpenVMS starting with version 7.0, since
in before hand the C-RTL did not contain support for UTC.
Encryption
Since a while the previously separate encryption routines are
part of the standard Zip software and may be disributed via
servers in the USA. More information about this can be found
in the USexport.msg file in the root directory of
the Zip sources.
User Notes
Notes Entry

Comments to: Martin P.J. Zinser
Last modified: 20081023