5.6. Tcl-8.4.15

The Tcl package contains the Tool Command Language.

User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/tcl

5.6.1. Installation of Tcl

This package and the next two (Expect and DejaGNU) are installed to support running the test suites for GCC and Binutils. Installing three packages for testing purposes may seem excessive, but it is very reassuring, if not essential, to know that the most important tools are working properly. Even though the test suites are not run in this chapter, these packages are required to run the test suites in Chapter 6.

Prepare Tcl for compilation:

cd unix
./configure --prefix=/tools

Build the package:

make

Install the package:

make install

Install Tcl's headers. The next package, Expect, requires them to build.

make install-private-headers

Now make a necessary symbolic link:

ln -sv tclsh8.4 /tools/bin/tclsh

5.6.2. Contents of Tcl

Installed programs: tclsh (link to tclsh8.4) and tclsh8.4
Installed library: libtcl8.4.so

Short Descriptions

tclsh8.4

The Tcl command shell

tclsh

A link to tclsh8.4

libtcl8.4.so

The Tcl library