Skycat can also be compiled as a single binary that includes all of the necessary bitmaps, colormaps and Tcl source files.
For Tcl7.6/Tk4.2, this is done using a slightly modified version of ET 1 ( Embedded Tk ), a public domain package designed for this purpose. This works by creating a single Tcl script out of all of the Tcl sources (including all dependent packages). The generated Tcl script is then " compiled" by ET , creating a C source file, in which the Tcl code is declared as a string. ET defines the necessary environment so that Tcl scripts are found in the string at run time. The bitmaps and colormap files are compiled in, in all cases, so that there is no problem there.
For Tcl8.0/Tk8.0, the Scriptics TclPro prowrap 2 application is used, if available. The ET version does not currently work with Tcl8.0.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory