[3f8be484] | 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 |
|
---|
[134ba96] | 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
|
---|
[3f8be484] | 9 | <?dbhtml filename="tcl.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tcl-&tcl-version;</title>
|
---|
| 12 |
|
---|
[134ba96] | 13 | <indexterm zone="ch-testsuite-tools-tcl">
|
---|
[3f8be484] | 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 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Tcl</title>
|
---|
| 26 |
|
---|
| 27 | <para os="a">This package and the next two (Expect and DejaGNU) are installed
|
---|
| 28 | to support running the test suites for GCC and Binutils. Installing
|
---|
| 29 | three packages for testing purposes may seem excessive, but it is very
|
---|
| 30 | reassuring, if not essential, to know that the most important tools are
|
---|
[76cf100] | 31 | working properly.</para>
|
---|
[3f8be484] | 32 |
|
---|
[39139e4] | 33 | <para os="c1">First, fix a syntax error in the configure script:</para>
|
---|
[cf682c1] | 34 |
|
---|
| 35 | <screen os="c2"><userinput>cd unix
|
---|
| 36 | sed -i "s/relid'/relid/" configure</userinput></screen>
|
---|
| 37 |
|
---|
[3f8be484] | 38 | <para os="b">Prepare Tcl for compilation:</para>
|
---|
| 39 |
|
---|
[cf682c1] | 40 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
[3f8be484] | 41 |
|
---|
[aa3ee8b] | 42 | <para os="d">Build the package:</para>
|
---|
[3f8be484] | 43 |
|
---|
[aa3ee8b] | 44 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 45 |
|
---|
[aa3ee8b] | 46 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 47 |
|
---|
[aa3ee8b] | 48 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 49 |
|
---|
[6c6defc] | 50 | <para os="i">Tcl's private header files are needed for the next
|
---|
[39139e4] | 51 | package, Expect. Install them into /tools:</para>
|
---|
[3f8be484] | 52 |
|
---|
[b15e6404] | 53 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
|
---|
[3f8be484] | 54 |
|
---|
| 55 | <para os="k">Now make a necessary symbolic link:</para>
|
---|
| 56 |
|
---|
[94e6142] | 57 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
[3f8be484] | 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 id="contents-tcl" role="content">
|
---|
| 62 | <title>Contents of Tcl</title>
|
---|
| 63 |
|
---|
| 64 | <segmentedlist>
|
---|
| 65 | <segtitle>Installed programs</segtitle>
|
---|
| 66 | <segtitle>Installed library</segtitle>
|
---|
| 67 |
|
---|
| 68 | <seglistitem>
|
---|
| 69 | <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
|
---|
| 70 | <seg>libtcl8.4.so</seg>
|
---|
| 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="tclsh8.4">
|
---|
| 80 | <term><command>tclsh8.4</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>The Tcl command shell</para>
|
---|
[134ba96] | 83 | <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
|
---|
[3f8be484] | 84 | <primary sortas="b-tclsh8.4">tclsh8.4</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="tclsh">
|
---|
| 90 | <term><command>tclsh</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>A link to tclsh8.4</para>
|
---|
[134ba96] | 93 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[3f8be484] | 94 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="libtcl8.4.so">
|
---|
| 100 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>The Tcl library</para>
|
---|
[134ba96] | 103 | <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
|
---|
[3f8be484] | 104 | <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | </variablelist>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | </sect1>
|
---|