Examples

  1. Create a Tclkit:
    1. $ ./kitcreator
  2. Create a Tclkit for Tcl 8.5.9:
    1. $ ./kitcreator 8.5.9
  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. $ CXX=false
      3. $ AR=mipsel-linux-uclibc-ar
      4. $ RANLIB=mipsel-linux-uclibc-ranlib
      5. $ export CC CXX AR RANLIB
      6. $ ./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
  8. Create a Tclkit without Metakit4 support (falls back to Zip for storage):
    1. $ KITCREATOR_PKGS='tk itcl'
    2. $ export KITCREATOR_PKGS
    3. $ ./kitcreator
  9. Create a Tclkit with Metakit4 support, but using Zip for storage:
    1. $ ./kitcreator --enable-kit-storage=zip
  10. Create a KitDLL without Metakit support (will not create a Tclkit binary, just the library):
    1. $ KITCREATOR_PKGS='tk itcl kitdll'
    2. $ export KITCREATOR_PKGS
    3. $ ./kitcreator