| 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 | 
 | 
|---|
| 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="tcl.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Tcl-&tcl-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-testsuite-tools-tcl">
 | 
|---|
| 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
 | 
|---|
| 40 |     working properly.</para>
 | 
|---|
| 41 | 
 | 
|---|
| 42 |     <para os="c1">First, fix a syntax error in the configure script:</para>
 | 
|---|
| 43 | 
 | 
|---|
| 44 | <screen os="c2"><userinput>cd unix
 | 
|---|
| 45 | sed -i "s/relid'/relid/" configure</userinput></screen>
 | 
|---|
| 46 | 
 | 
|---|
| 47 |     <para os="b">Prepare Tcl for compilation:</para>
 | 
|---|
| 48 | 
 | 
|---|
| 49 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
 | 
|---|
| 50 | 
 | 
|---|
| 51 |     <para os="d">Build the package:</para>
 | 
|---|
| 52 | 
 | 
|---|
| 53 | <screen os="e"><userinput>make</userinput></screen>
 | 
|---|
| 54 | 
 | 
|---|
| 55 |     <para os="g">Install the package:</para>
 | 
|---|
| 56 | 
 | 
|---|
| 57 | <screen os="h"><userinput>make install</userinput></screen>
 | 
|---|
| 58 | 
 | 
|---|
| 59 |     <para os="i">Tcl's private headers files are needed for the next
 | 
|---|
| 60 |     package, Expect. Install them into /tools:</para>
 | 
|---|
| 61 | 
 | 
|---|
| 62 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
 | 
|---|
| 63 | 
 | 
|---|
| 64 |     <para os="k">Now make a necessary symbolic link:</para>
 | 
|---|
| 65 | 
 | 
|---|
| 66 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
 | 
|---|
| 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>
 | 
|---|
| 92 |           <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
 | 
|---|
| 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>
 | 
|---|
| 102 |           <indexterm zone="ch-testsuite-tools-tcl tclsh">
 | 
|---|
| 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>
 | 
|---|
| 112 |           <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
 | 
|---|
| 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>
 | 
|---|