Version 7 of Building tclkit in MinGW on WIndows

Updated 2004-03-12 18:30:54

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://pb.sr4.org:81/tclkits/genkit .

Heres how to use it:

Create a directory to work in on you computer in your msys home dir, ie: 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 Im 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 untill I installed ActiveTcl. I'd like to make a tclbench.kit to make testing tclkit performance easier in the future.

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.