Notes on building Tcl/Tk for TeX Live 2021
The 2021 edition contains a subset of a basic Tcl/Tk installation.
The Tcl/Tk 8.6.11 sources were downloaded via
http://www.tcl.tk/software/tcltk/download.html
Tcl/Tk was cross-compiled under ArchLinux (5.11.1-arch1-1) as follows.
First,patch the file tk8.6.11/win/wish.exe.manifest.in for
better HiPDI support by adding a dpiAwareness element; the
asmv3:windowsSettings element in this file becomes:
true
PerMonitorV2
Create or choose a root for the installation. Do for Tcl and Tk successively:
- Unpack the source, and run in the win subdirectory:
./configure --host=i686-w64-mingw32 --enable-embedded-manifest \
--prefix=
make
make install
Portability of the result should be no problem.
For a smaller installation, I stripped all the .exe- and .dll files.
I removed sqlite3_analyzer from /bin and copied
tclsh86.exe and wish86.exe to tclsh.exe and wish.exe respectively.
I placed just the resulting lib- and bin subdirectories under
/tlpkg/tltcl, omitting the include- and share
subdirectories.
Siep Kroonenberg
March 2021