17 July 2000

Well, this is quite pre-alpha code, so please bear with me here. :-)
Hint:  it helps significantly to be a C, Tcl, and make guru.

At this point, if you don't have a Linux 2 system with gcc 2.9x or a
Solaris 2.x system with SunPro, you're going to need to edit some
files by hand and hack together your own Makefile.

If you are using one of the aforementioned systems, go into the unix
directory and copy the appropriate makefile for your system (either
Makefile.lin2 or Makefile.sol2) to "Makefile".  You should only need
to edit three lines:
    TCL_VERSION
    TCL_SRC_DIR
    TCL_INSTALL_DIR

TCL_VERSION should be set to your version of Tcl.  I'm running the
bleeding-edge Tcl 8.4 from the CVS tree, but you shouldn't have any
problems getting this to run in Tcl 8.2 or higher.

TCL_SRC_DIR should point to the root of your Tcl sources.  Inside of
this directory, you should see the normal library, unix, win, etc.,
subdirectories.  kt2c needs to get at some Tcl internals, hence why it
needs a pointer to the source.

TCL_INSTALL_DIR should point to the root of your Tcl installation.
Inside of this directory, you sould see subdirectories like bin, lib,
include, etc.  kt2c installs itself into lib/kt2c-0.1, and places a
header file into include.


Compiling the resulting C code requires a bit of work.  Take a look at
the test/benchmark files for how it's done right now.  In the future,
this will be better documented.
