[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[5be6331] | 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
|
---|
[bf8c11f] | 9 | <?dbhtml filename="tcl.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tcl-&tcl-version;</title>
|
---|
| 12 |
|
---|
[5be6331] | 13 | <indexterm zone="ch-testsuite-tools-tcl">
|
---|
[bf8c11f] | 14 | <primary sortas="a-Tcl">Tcl</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Tcl package contains the Tool Command Language.</para>
|
---|
| 21 |
|
---|
| 22 | <segmentedlist>
|
---|
| 23 | <segtitle>&dependencies;</segtitle>
|
---|
| 24 |
|
---|
| 25 | <seglistitem>
|
---|
| 26 | <seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
| 27 | GCC, Glibc, Grep, Make, and Sed</seg>
|
---|
| 28 | </seglistitem>
|
---|
| 29 | </segmentedlist>
|
---|
| 30 |
|
---|
| 31 | </sect2>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="installation">
|
---|
| 34 | <title>Installation of Tcl</title>
|
---|
| 35 |
|
---|
| 36 | <para os="a">This package and the next two (Expect and DejaGNU) are installed
|
---|
| 37 | to support running the test suites for GCC and Binutils. Installing
|
---|
| 38 | three packages for testing purposes may seem excessive, but it is very
|
---|
| 39 | reassuring, if not essential, to know that the most important tools are
|
---|
[e1beb751] | 40 | working properly.</para>
|
---|
[bf8c11f] | 41 |
|
---|
[2ab0d61] | 42 | <para os="c1">First, fix a syntax error in the configure script:</para>
|
---|
[1bc724c] | 43 |
|
---|
| 44 | <screen os="c2"><userinput>cd unix
|
---|
| 45 | sed -i "s/relid'/relid/" configure</userinput></screen>
|
---|
| 46 |
|
---|
[bf8c11f] | 47 | <para os="b">Prepare Tcl for compilation:</para>
|
---|
| 48 |
|
---|
[1bc724c] | 49 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
[bf8c11f] | 50 |
|
---|
[e7732d7] | 51 | <para os="d">Build the package:</para>
|
---|
[bf8c11f] | 52 |
|
---|
[e7732d7] | 53 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[bf8c11f] | 54 |
|
---|
[e7732d7] | 55 | <para os="g">Install the package:</para>
|
---|
[bf8c11f] | 56 |
|
---|
[e7732d7] | 57 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[bf8c11f] | 58 |
|
---|
[2ab0d61] | 59 | <para os="i">Tcl's private headers files are needed for the next
|
---|
| 60 | package, Expect. Install them into /tools:</para>
|
---|
[bf8c11f] | 61 |
|
---|
[517ec63] | 62 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
|
---|
[bf8c11f] | 63 |
|
---|
| 64 | <para os="k">Now make a necessary symbolic link:</para>
|
---|
| 65 |
|
---|
[dd9906e] | 66 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
[bf8c11f] | 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 id="contents-tcl" role="content">
|
---|
| 71 | <title>Contents of Tcl</title>
|
---|
| 72 |
|
---|
| 73 | <segmentedlist>
|
---|
| 74 | <segtitle>Installed programs</segtitle>
|
---|
| 75 | <segtitle>Installed library</segtitle>
|
---|
| 76 |
|
---|
| 77 | <seglistitem>
|
---|
| 78 | <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
|
---|
| 79 | <seg>libtcl8.4.so</seg>
|
---|
| 80 | </seglistitem>
|
---|
| 81 | </segmentedlist>
|
---|
| 82 |
|
---|
| 83 | <variablelist>
|
---|
| 84 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 85 | <?dbfo list-presentation="list"?>
|
---|
| 86 | <?dbhtml list-presentation="table"?>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="tclsh8.4">
|
---|
| 89 | <term><command>tclsh8.4</command></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>The Tcl command shell</para>
|
---|
[5be6331] | 92 | <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
|
---|
[bf8c11f] | 93 | <primary sortas="b-tclsh8.4">tclsh8.4</primary>
|
---|
| 94 | </indexterm>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry id="tclsh">
|
---|
| 99 | <term><command>tclsh</command></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>A link to tclsh8.4</para>
|
---|
[5be6331] | 102 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[bf8c11f] | 103 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="libtcl8.4.so">
|
---|
| 109 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>The Tcl library</para>
|
---|
[5be6331] | 112 | <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
|
---|
[bf8c11f] | 113 | <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | </variablelist>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | </sect1>
|
---|