Notes on building Tcl/Tk for TeX Live 2023 For 2023, the same recipe applies as for 2022 below, except that configure is invoked with a --host=x86_64-w64-mingw32 parameter: Notes on building Tcl/Tk for TeX Live 2022 The 2022 edition contains a subset of a basic Tcl/Tk installation. The Tcl/Tk 8.6.12 sources were downloaded via http://www.tcl.tk/software/tcltk/download.html Tcl/Tk was cross-compiled under ArchLinux (5.16.12-arch1-1) as follows. First,patch the file tk8.6.12/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 an arbitrary 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, and removed all .a files and binsqlite3_analyzer. In the bin directory, I 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. For testing, see tlperl.README. Siep Kroonenberg March 2022/2023