Changes To KitCreator

Changes to "KitCreator" between 2010-10-04 18:50:14 and 2010-10-05 16:41:42

1
2
3
4
5
6


7
8
9
10
11
12
13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15






+
+







<i>Tclkit Building Made Trivial</i>

<p>KitCreator is a simple build system for creating a <a href="http://www.equi4.com/tclkit/">Tclkit</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 href="http://www.equi4.com/tclkit/download.html">pre-existing Tclkit</a>.  See also locally built pre-built <a href="http://rkeene.org/projects/info/wiki/Tclkits">Tclkits</a>.</p>

<p>A <a href="http://www.equi4.com/tclkit/">Tclkit</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 create a library that provides the Tcl (and optionally Tk) API for a system.  This is called KitDLL.  The library has all of the support files embedded into it.  The library's virtual filesystem can be extended by appending a zip file to it.  It can also be extended by appending a zip file to the application itself.</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>
      Current Release, Version <b>0.5.0.ef2f679de2</b>
      <ul>
96
97
98
99
100
101
102








103
104
105
106
107
108
109
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119







+
+
+
+
+
+
+
+







      </ol>
    </li> 
    <li>Create a Tclkit with Metakit4 support, but using Zip for storage:
      <ol type="a">
        <li><tt>$ ./kitcreator --enable-kit-storage=zip</tt></li>
      </ol>
    </li>
    <li>Create a KitDLL without Metakit support (will not create a Tclkit binary, just the library):
      <ol type="a">
        <li><tt>$ KITCREATOR_PKGS='tk itcl kitdll'</tt></li> 
        <li><tt>$ export KITCREATOR_PKGS</tt></li> 
        <li><tt>$ ./kitcreator</tt></li> 
      </ol>
    </li>

  </ol>
</p>

<hr>

<p class="kitcreator_longtext">
<b>Method of Operation</b>