<i>Tclkit Building Made Trivial</i>

<p>KitCreator is a simple build system for creating a <a It was created to ease creation of Tclkits.  If you just want to use Tcl on your platform, it is recommended that you use a <a Tclkit</a>.  See also locally built pre-built <a

<p>A <a is, briefly, a single-file executable that contains Tcl (both the interpreter, and all the resources it requires to operate) and other Tcl-related packages (Tk, Incr Tcl, etc).  A tclkit can be used to create a <i>Starpack</i>, which is the Tclkit plus the resources required for your Tcl-based application in a single file.  This makes application delivery easy and consistent as it will be a single file that the user runs to use the application.  Additionally, since a Tclkit is generic, any Tclkit from any platform can be used as the base for a Starpack.  That is, from GNU/Linux you can take the Tclkit for AIX and add your application to produce a native executable for AIX.</p>

<p>KitCreator can be used to cross-compile a Tclkit, however you may need to have a working Tclkit for your native system first.  KitCreator can be used to create this local boot-strap Tclkit.</p>

<p>Download:
  <ul>
    <li><a v0.4.0.2408</a> (<a
  </ul>
</p>

<hr>

<p>
  <b>Some examples:</b>
  <ol type="1">
    <li>Create a Tclkit:
      <ol type="a">
        <li><tt>$
      </ol>
    </li>
    <li>Create a Tclkit for Tcl 8.5.9:
      <ol type="a">
        <li><tt>$ ./kitcreator
      </ol>
    </li>
    <li>Create a Tclkit for Tcl from CVS HEAD:
      <ol type="a">
        <li><tt>$ ./kitcreator
      </ol>
    </li>
    <li>Compile a 64-bit Tclkit:
      <ol type="a">
        <li><tt>$ ./kitcreator
      </ol>
    </li>
    <li>Cross-compile a Tclkit:
      <ol type="a">
        <li>Bootstrap (optional, you can use an existing Tclkit):
          <ol type="i">
            <li><tt>$
            <li><tt>$ mv tclkit-8.4.19
            <li><tt>$
            <li><tt>$ export
          </ol>
        </li>
        <li>Cross-compile:
          <ol type="i">
            <li><tt>$
            <li><tt>$
            <li><tt>$
            <li><tt>$
            <li><tt>$ export CC CXX AR
            <li><tt>$ ./kitcreator
          </ol>
        </li>
      </ol>
    </li>
    <li>Compile a 64-bit Tclkit 8.5.8 using SunStudio 12.1 on Solaris/x86:
      <ol type="a">
        <li><tt>$
        <li><tt>$
        <li><tt>$
        <li><tt>$ export CC CXX
        <li><tt>$ ./kitcreator 8.5.8
      </ol>
    </li>
    <li>To clean up post-build:
      <ol type="a">
        <li><tt>$ ./kitcreator
      </ol>
    </li>
    <li>Create a Tclkit without Metakit4 support (falls back to Zip for storage):
      <ol type="a">
        <li><tt>$ KITCREATOR_PKGS='tk
        <li><tt>$ export
        <li><tt>$
      </ol>
    </li>
    <li>Create a Tclkit with Metakit4 support, but using Zip for storage:
      <ol type="a">
        <li><tt>$ ./kitcreator
      </ol>
    </li>
  </ol>
</p>