Purpose: to contain discussion relating to an installation directory structure that is recommended for people writing tcl extensions or applications.
LV Jump right in and add info as you see needed:
By default, extensions should use two main groups of locations for installing things, one for architecture-independent files, and one for architecture-dependent files.
--prefix specifies the location of the architecture-independent files (e.g. Tcl scripts, header files, documentation) and is conventionally /usr/local by default. Beneath this location, the following places are usually defined:
--exec-prefix specifies the location of architecture-dependent files (binary extensions, etc.)
--prefix /usr/local default location for tcl pieces /include header file(s) needed when writing code against a library /lib location where Tcl only extensions are installed /lib/extension.version.level location for pkgIndex.tcl files, tcl files, etc. /bin location where Tcl only applications are installed --exec-prefix /usr/local default location for binary parts of tcl /lib location where binary extensions and their pkgIndex.tcl are installed /lib/extension.version.level location for pkgIndex.tcl files, .so files, etc. /bin location where binary applications are installed