source: testsuite-tools/common/tcl.xml @ dd9906e

Last change on this file since dd9906e was dd9906e, checked in by Jim Gifford <clfs@…>, 17 years ago

r1167@server (orig r1165): chris | 2006-02-11 08:13:02 -0800
Added -v to commands in the rest of the book

  • Property mode set to 100644
File size: 3.5 KB
Line 
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
45sed -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">Now we will install the TCL headers into /tools.</para>
60
61<screen os="j"><userinput>make install-private-headers</userinput></screen>
62
63    <para os="k">Now make a necessary symbolic link:</para>
64
65<screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
66
67  </sect2>
68
69  <sect2 id="contents-tcl" role="content">
70    <title>Contents of Tcl</title>
71
72    <segmentedlist>
73      <segtitle>Installed programs</segtitle>
74      <segtitle>Installed library</segtitle>
75
76      <seglistitem>
77        <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
78        <seg>libtcl8.4.so</seg>
79      </seglistitem>
80    </segmentedlist>
81
82    <variablelist>
83      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84      <?dbfo list-presentation="list"?>
85      <?dbhtml list-presentation="table"?>
86
87      <varlistentry id="tclsh8.4">
88        <term><command>tclsh8.4</command></term>
89        <listitem>
90          <para>The Tcl command shell</para>
91          <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
92            <primary sortas="b-tclsh8.4">tclsh8.4</primary>
93          </indexterm>
94        </listitem>
95      </varlistentry>
96
97      <varlistentry id="tclsh">
98        <term><command>tclsh</command></term>
99        <listitem>
100          <para>A link to tclsh8.4</para>
101          <indexterm zone="ch-testsuite-tools-tcl tclsh">
102            <primary sortas="b-tclsh">tclsh</primary>
103          </indexterm>
104        </listitem>
105      </varlistentry>
106
107      <varlistentry id="libtcl8.4.so">
108        <term><filename class="libraryfile">libtcl8.4.so</filename></term>
109        <listitem>
110          <para>The Tcl library</para>
111          <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
112            <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
113          </indexterm>
114        </listitem>
115      </varlistentry>
116
117    </variablelist>
118
119  </sect2>
120
121</sect1>
Note: See TracBrowser for help on using the repository browser.