Repository navigation
Releases
v20261121
Tclkits for Tcl/Tk 8.4.20, 8.5.19, 8.6.18 and, for the first time, 9.0.4.
- 64-bit Windows, built with MSYS2 / MinGW-w64 gcc 16.1
- 64-bit Linux (x86_64), built on AlmaLinux 8 with gcc 8.5, runs on glibc 2.28 or newer
Packages
Windows
| File | Size | Executables |
|---|---|---|
| tclkit-large-8.4.20-win-amd64.7z | 2.1 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-8.5.19-win-amd64.7z | 2.9 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-8.6.18-win-amd64.7z | 3.3 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-9.0.4-win-amd64.7z | 3.8 MB | tclkit-cli, tclkit-gui |
| tclkit-small-8.4.20-win-amd64.7z | 1.6 MB | tclkit-cli, tclkit-dyn, tclkitsh |
| tclkit-small-8.5.19-win-amd64.7z | 2.0 MB | tclkit-cli, tclkit-dyn, tclkitsh |
| tclkit-small-8.6.18-win-amd64.7z | 2.4 MB | tclkit-cli, tclkit-dyn, tclkitsh |
| tclkit-small-9.0.4-win-amd64.7z | 2.4 MB | tclkit-cli, tclkit-dyn |
Linux
| File | Size | Executables |
|---|---|---|
| tclkit-large-8.4.20-linux-x86_64.tar.gz | 5.5 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-8.5.19-linux-x86_64.tar.gz | 8.1 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-8.6.18-linux-x86_64.tar.gz | 9.2 MB | tclkit-cli, tclkit-gui, tclkitsh, tclkit |
| tclkit-large-9.0.4-linux-x86_64.tar.gz | 6.6 MB | tclkit-cli, tclkit-gui |
| tclkit-small-8.4.20-linux-x86_64.tar.gz | 4.2 MB | tclkit-cli, tclkit-dyn, tclkitsh, tclkit |
| tclkit-small-8.5.19-linux-x86_64.tar.gz | 5.3 MB | tclkit-cli, tclkit-dyn, tclkitsh, tclkit |
| tclkit-small-8.6.18-linux-x86_64.tar.gz | 6.6 MB | tclkit-cli, tclkit-dyn, tclkitsh, tclkit |
| tclkit-small-9.0.4-linux-x86_64.tar.gz | 3.5 MB | tclkit-cli, tclkit-dyn |
- large: threaded, Thread extension, all encodings; message catalogs and time zone data (8.5 and later). The 9.0 package also has itcl 4.3.8 and sqlite3 3.53.0 linked in.
- small: basic set of encodings.
tclkit-dyncarries Tk as a shared library and loads it onpackage require Tk. - Linux: the console kits need nothing but libc (libstdc++ for
tclkitsh/tclkit, zlib for Tcl 9). The kits with Tk linked in need the X11, Xft and fontconfig libraries at run time. Tk 8.4 is built without Xft.
New: Tcl 9
The Tcl 9 tclkit is zipfs based. It appends a plain zip archive to the executable and contains no Metakit, vlerq or tclvfs.
-
Wrapping is built in, sdx is not used:
tclkit -wrap demo.exe demo.vfs tclkit -wrap demo.exe demo.vfs -runtime tclkit-gui.exe tclkit -wrap demo.kit demo.vfs -
tclkit app.kitruns a zip archive with amain.tclinside. -
package require starkit,starkit::startupand$starkit::topdirwork as with 8.x, so an existingmain.tclneeds no change. -
Thread 3.0.6, itcl 4.3.8 and sqlite3 3.53.0 are linked in statically (large).
Not compatible: a Metakit based .kit file made for 8.x, sdx.kit included, does not run on the Tcl 9 tclkit. Wrap the application again from its source directory. vfs::*, Mk4tcl and vlerq are not available; use zipfs. Files inside the executable are read-only.
See HOWTOUSE9.HTML.
Changes in the 8.x kits
- Updated to Tcl/Tk 8.6.18 (from 8.6.16).
- 8.6 now uses Thread 2.8.13, the version bundled with Tcl, instead of 2.6.6.
- 8.4:
thread::sendfailed with "thread does not exist" on 64-bit Windows, because the id of a new thread had random upper bits. Fixed. - cp949 and euc-kr are part of the basic set of encodings, so the small kits work with the system encoding of a Korean Windows.
- 8.4 on Linux: exiting while a thread is still alive can hang. Release the threads first (
thread::release).
Build
sh mkdist.shdownloads the sources, builds everything and packs the archives;fetch.shgets the sources of one release.- The same command works on Windows (MSYS2 MINGW64) and on Linux. On Linux the archives are
.tar.gzwhen there is no7z. - Builds with current gcc (tested with 16.1 on Windows, 8.5 on Linux); nothing has to be edited by hand any more.
- Patches for Tcl/Tk 8.4 and Tk 8.5 against clashes with the current Windows headers, in
patches/. - Safe with
make -j; a part that failed is moved aside and rebuilt on the next run.
Documents
- README.md rewritten
- HOWTOUSE9.HTML: making a single file application with Tcl 9
- HOWTOBUILD.HTML: building and packaging
Known limitations
- Built and tested on Windows and Linux x86_64 only. The BSD, Solaris and Mac OS X settings and
Makefile.vcare untouched and untested. - The Linux kits were tested on AlmaLinux 8 only, Tk under a virtual display (Xvfb).
- The small 8.x packages for Windows do not contain
tclkit.exe; it is in the large ones. - Tcl 9.1.0 is out; this release stays on the 9.0 line.