Standard Directory Structure

The Source Distribution

Table 45-1 describes the directory structure of the Tcl source distribution. The Tk distribution is similar, and you should model your own source distribution after this. It is also standard to place the Tcl, Tk, and other source packages under a common source directory (e.g., /usr/local/src or /home/welch/cvs). In fact, this may be necessary if the packages depend on each other.

Table 45-1. The Tcl source directory structure.
tcl8.2The root of the Tcl sources. This contains a README and license_terms file, and several subdirectories.
tcl8.2/compatThis contains .c files that implement procedures that are otherwise broken in the standard C library on some platforms. They are only used if necessary. ...

Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.