View Ticket
Ticket Hash: 0d77bbefea16efe31e7eac94bafe9e8400f348a4
Title: Trying to create a minimal tclkit (Web Interface)
Status: Open Type: Feature Request
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2017-10-01 21:23:45
Version Found In: last
Description:
<div>I was trying to create a minimal tclkit (with included Tk)</div><div><br /></div><div>My first try was:</div><div>&nbsp; &nbsp; Platform: &nbsp;Windows/amd64</div><div>&nbsp; &nbsp; * Packages: Tk&nbsp;</div><div>&nbsp; &nbsp; * Kit: Threaded</div><div>&nbsp; &nbsp; * Kit Storage: Automatic</div><div>The resulting tclkit.exe was ok when used standalone, but then when I used it</div><div>for building a starpack</div><div>&nbsp; &nbsp;tclsh sdk.kit app.exe -runtime tclkit.exe</div><div>I got a fatal error when launching app.exe:</div><div>&nbsp; &nbsp;A critical error occurred. &nbsp;... Can't find a usable init.tcl</div><div>&nbsp; &nbsp;</div><div><span style="font-size: 10pt;">After various experiments, I realized that I needed to select the Metakit package</span></div><div>when launching KitCreator.</div><div><br /></div><div>The resulting tclkit is now suitable for building starpacks (Successfully tested for win 32/64, linux 32/64 and macosx)</div><div>Good ! it works ! but my only complaint is that the size of these 'minimal' tclkit</div><div>is still huge ( between 4 and 5 MBytes ).</div><div><br /></div><div>Is there a way to reduce further the size of these tclkits ?</div><div><br /></div>