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