benny@arrian:~/Projects/tcl-fossil$ cd unix/
benny@arrian:~/Projects/tcl-fossil/unix$ zip
bash: zip: command not found
benny@arrian:~/Projects/tcl-fossil/unix$ ./configure
[...]
checking for macher... checking for zip... No zip found on PATH. Building minizip
[...]
benny@arrian:~/Projects/tcl-fossil/unix$ make libtcl8.7a6.zip
gcc -o adler32.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/adler32.c
gcc -o compress.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/compress.c
gcc -o crc32.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/crc32.c
gcc -o deflate.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/deflate.c
gcc -o infback.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/infback.c
gcc -o inffast.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/inffast.c
gcc -o inflate.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/inflate.c
gcc -o inftrees.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/inftrees.c
gcc -o ioapi.o -DIOAPI_NO_64 -I/home/benny/Projects/tcl-fossil/compat/zlib -I/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip -c \
	/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip/ioapi.c
gcc -o trees.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/trees.c
gcc -o uncompr.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/uncompr.c
gcc -o zip.o -I/home/benny/Projects/tcl-fossil/compat/zlib -I/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip -c \
	/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip/zip.c
gcc -o zutil.o -I/home/benny/Projects/tcl-fossil/compat/zlib -c /home/benny/Projects/tcl-fossil/compat/zlib/zutil.c
gcc -o minizip.o -DIOAPI_NO_64 -I/home/benny/Projects/tcl-fossil/compat/zlib -I/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip -c \
	/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip/minizip.c
gcc -o minizip adler32.o compress.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o ioapi.o trees.o uncompr.o zip.o zutil.o minizip.o
creating libtcl.vfs/tcl_library (prepare compression)
mv libtcl.vfs/tcl_library/manifest.txt libtcl.vfs/tcl_library/pkgIndex.tcl
rm -rf libtcl.vfs/tcl_library/dde libtcl.vfs/tcl_library/registry
creating libtcl8.7a6.zip from libtcl.vfs/tcl_library
cd libtcl.vfs && /home/benny/Projects/tcl-fossil/unix/minizip -o -r ../libtcl8.7a6.zip *
benny@arrian:~/Projects/tcl-fossil/unix$ unzip -l libtcl8.7a6.zip
Archive:  libtcl8.7a6.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    22902  2022-09-17 20:05   tcl_library/auto.tcl
   128876  2022-09-17 20:05   tcl_library/clock.tcl
        0  2022-09-17 20:05   tcl_library/cookiejar
        0  2022-09-17 20:05   tcl_library/encoding
     7899  2022-09-17 20:05   tcl_library/history.tcl
        0  2022-09-17 20:05   tcl_library/http
        0  2021-02-21 19:56   tcl_library/http1.0
    23503  2022-09-17 20:05   tcl_library/init.tcl
     7603  2022-09-17 20:05   tcl_library/install.tcl
        0  2022-09-17 20:05   tcl_library/msgcat
        0  2022-09-17 20:05   tcl_library/msgs
        0  2022-09-17 20:05   tcl_library/opt
    23719  2022-09-17 20:05   tcl_library/package.tcl
      814  2022-09-17 20:05   tcl_library/parray.tcl
      730  2022-09-17 20:05   tcl_library/pkgIndex.tcl
        0  2022-09-17 20:05   tcl_library/platform
        0  2021-02-21 19:56   tcl_library/reg
    40672  2022-09-17 20:05   tcl_library/safe.tcl
     6207  2022-09-17 20:05   tcl_library/tclIndex
        0  2022-09-17 20:05   tcl_library/tcltest
    11808  2022-09-17 20:05   tcl_library/tm.tcl
        0  2022-09-17 20:05   tcl_library/tzdata
     4593  2022-09-17 20:05   tcl_library/word.tcl
---------                     -------
   279326                     23 files
benny@arrian:~/Projects/tcl-fossil/unix$ rm -rf minizip minizip.o 
benny@arrian:~/Projects/tcl-fossil/unix$ make minizip
gcc -o minizip.o -DIOAPI_NO_64 -I/home/benny/Projects/tcl-fossil/compat/zlib -I/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip -c \
	/home/benny/Projects/tcl-fossil/compat/zlib/contrib/minizip/minizip.c
gcc -o minizip adler32.o compress.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o ioapi.o trees.o uncompr.o zip.o zutil.o minizip.o
benny@arrian:~/Projects/tcl-fossil/unix$ make libtcl8.7a6.zip
creating libtcl.vfs/tcl_library (prepare compression)
mv libtcl.vfs/tcl_library/manifest.txt libtcl.vfs/tcl_library/pkgIndex.tcl
rm -rf libtcl.vfs/tcl_library/dde libtcl.vfs/tcl_library/registry
creating libtcl8.7a6.zip from libtcl.vfs/tcl_library
cd libtcl.vfs && /home/benny/Projects/tcl-fossil/unix/minizip -o -r ../libtcl8.7a6.zip *
benny@arrian:~/Projects/tcl-fossil/unix$ unzip -l libtcl8.7a6.zip | head
Archive:  libtcl8.7a6.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    21329  2022-09-17 20:05   tcl_library/cookiejar/cookiejar.tcl
     7458  2022-09-17 20:05   tcl_library/cookiejar/idna.tcl
      214  2022-09-17 20:05   tcl_library/cookiejar/pkgIndex.tcl
    70835  2022-09-17 20:05   tcl_library/cookiejar/public_suffix_list.dat.gz
     1090  2022-09-17 20:05   tcl_library/encoding/ascii.enc
    92873  2022-09-17 20:05   tcl_library/encoding/big5.enc
    97050  2022-09-17 20:05   tcl_library/encoding/cns11643.enc
benny@arrian:~/Projects/tcl-fossil/unix$ 