Tclkit builds for 8.4, 8.5, 8.6 and 9.0 (Windows and Linux, 64-bit)

hanulso78/tclkit is a fork of kitgen that builds with current compilers and adds Tcl 9. Ready-made kits are on the releases page :

  • Tcl/Tk 8.4.20, 8.5.19, 8.6.18 and 9.0.4
  • 64-bit Windows (MinGW-w64) and 64-bit Linux (x86_64, glibc 2.28 or newer)
  • a large set (threaded, Thread, all encodings, message catalogs, time zones) and a small set (basic encodings) for each release
  • tclkit-cli (console), tclkit-gui (Tk linked in) and tclkit-dyn (Tk as a shared library inside the kit); the 8.x archives also have the classic Metakit based tclkitsh / tclkit with Itcl 3.4

The 8.x kits are the usual kitgen ones and work with sdx.

The Tcl 9 kit is different: it is based on zipfs, with no Metakit, vlerq or tclvfs inside. Wrapping is built in, so sdx is not needed:

tclkit -wrap demo.exe demo.vfs
tclkit -wrap demo.exe demo.vfs -runtime tclkit-gui.exe
tclkit -wrap demo.kit demo.vfs

package require starkit, starkit::startup and $starkit::topdir keep working, so the main.tcl of an existing application needs no change, but a Metakit based .kit file made for 8.x has to be wrapped again from its source directory. The large Tcl 9 kit has Thread, Itcl 4 and sqlite3 linked in.

To build everything yourself: sh mkdist.sh in an MSYS2 MINGW64 shell or on Linux. It downloads the Tcl/Tk sources, builds all kits and packs the archives.