KitCreator r5 (See the current copy)

A simple build system for creating a Tclkit for your platform. It was created to ease creation of Tclkits for the local platform. If you just want to use Tcl on your platform, it is recommended that you use a pre-existing Tclkit.

It will work for cross-compiling Tclkits if you bootstrap a local Tclkit first, however this is not well tested.

Download:


Some examples:

  1. Create a Tclkit:
    1. $ ./kitcreator
  2. Create a Tclkit for Tcl 8.5.8:
    1. $ ./kitcreator 8.5.8
  3. Create a Tclkit for Tcl from CVS HEAD:
    1. $ ./kitcreator cvs_HEAD
  4. Compile a 64-bit Tclkit:
    1. $ ./kitcreator --enable-64bit
  5. Cross-compile a Tclkit:
    1. Bootstrap (optional, you can use an existing Tclkit):
      1. $ ./kitcreator
      2. $ mv tclkit-8.4.19 tclkit-local
      3. $ TCLKIT="$(pwd)/tclkit-local"
      4. $ export TCLKIT
    2. Cross-compile:
      1. $ CC=mipsel-linux-uclibc-gcc
      2. $ AR=mipsel-linux-uclibc-ar
      3. $ RANLIB=mipsel-linux-uclibc-ranlib
      4. $ export CC AR RANLIB
      5. $ ./kitcreator --host=mipsel-linux-uclibc
  6. Compile a 64-bit Tclkit 8.5.8 using SunStudio 12.1 on Solaris/x86:
    1. $ CC='/opt/sunstudio12.1/bin/cc -m64'
    2. $ CXX='/opt/sunstudio12.1/bin/CC -m64'
    3. $ PATCH='gpatch'
    4. $ export CC CXX PATCH
    5. $ ./kitcreator 8.5.8 --enable-64bit
  7. To clean up post-build:
    1. $ ./kitcreator clean