'''11-27-2003''' [SRIV] Finally got tclkit built on [Windows] in [MinGW]! With the help of Wojciech Kocjan's genkit, which needed a little updating, I blended Wojciech's script with JCW's current genkit to develop a smooth working version that currently only works on Windows. Get my version at http://www.sr-tech.com/testing/genkit . Here is how to use it: Create a directory to work in on you computer in your msys home dir, i.e., buildtclkit. Place my genkit script in this dir. Under that, create a dir named tars. Get all the tar.gz's and runtime.kit file from http://www.equi4.com/pub/tk/tars/ and place these files in the tars directory. At this point I'm going to assume you have an installed tclsh84.exe in your [MinGW] system. You'll need this to run the genkit script. To build it yourself, just extract the tcl8.4-src.tar.gz in your msys home dir, then build it with the sequence: cd tcl8.4/win ./configure make make install cd ~/buildtclkit Ok, back to building the tclkit. Here are the fun commands: tclsh84.exe genkit A # unpacks the tars into the src dir under buildtclkit tclsh84.exe genkit B # builds everything in sequence tclsh84.exe genkit D # makes the dummy tclkit tclsh84.exe genkit E # makes the final tclkit Now, you should see a file name tclkit-yourhostname.exe in your buildtclkit dir! In my spare time I'll work on cleanly integrating this script with the current genkit from JCW so that it can maintained from there. Thanks Wojciech for sending me your version, which kept me from having to pull my hair out. '''Performance notes''': [SRIV] I ran some preliminary [tclbench] tests against JCW's tclkit8.4.4.exe and my [MinGW] version is slower on some tests and faster on others. It was a pain getting [tclbench] to work until I installed ActiveTcl. I'd like to make a tclbench.kit to make testing tclkit performance easier in the future. [Kroc] - 22 Jun 2004: I've done a TclBench.kit (v 1.15) see [tclbench] for details. '''2004-03-12''' update: fixed a hard-coded path bug in genkit. Tested today on WinXP using [MinGW] 3.1.0 using all the current tars, but using tcl/tk8.4.6 instead of 8.4.5. Works excellent so far. Have you tried with 8.5a2 instead of 8.4.6? '''2004-05-22''' [SRIV] In order to do so requires changing a bunch of references to "8.4" in the script, so I was going to wait until there's a feature in 8.5a2 that I want to play with. Someone give me a reason! [Kroc] - 29 Jun 2004: I use a [tclkit]-sh to run genkit instead of building tclsh from src and it works very well. I think '''hostname''' command may not work (because it's a XP command) so it could be better to replace it by '''uname -n''' (wich is a Msys command, thx [PT] for this trick). BTW, I was unable to make it work under win9x: it freezes after a while. Maybe a guru can also find a way to build win32 [Tclkit] using a Linux hosted MinGW cross-compilation environment (check [http://www.libsdl.org/extras/win32/cross/README.txt] for details). For french users, I've done a translation of this page here: [http://wfr.tcl.tk/577]. [CT] Can someone please post the windows genkit script as I can no longer access pb.sr4.org. Thanks. '''2004-8-14''' [SRIV] Updated new URL for genkit script. Tested ok on tcl/tk 8.4.7 . [CT] Thanks Steve :^) On another note does anyone know if and how it is possible to change the icon for the exe that it built? ---- [Category Porting]