source: BOOK/testsuite-tools/common/tcl.xml@ 66bd602

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 66bd602 was 94e6142, checked in by Jim Gifford <clfs@…>, 19 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
RevLine 
[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 <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
[76cf100]40 working properly.</para>
[3f8be484]41
[cf682c1]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
[3f8be484]47 <para os="b">Prepare Tcl for compilation:</para>
48
[cf682c1]49<screen><userinput>./configure --prefix=/tools</userinput></screen>
[3f8be484]50
[aa3ee8b]51 <para os="d">Build the package:</para>
[3f8be484]52
[aa3ee8b]53<screen os="e"><userinput>make</userinput></screen>
[3f8be484]54
[aa3ee8b]55 <para os="g">Install the package:</para>
[3f8be484]56
[aa3ee8b]57<screen os="h"><userinput>make install</userinput></screen>
[3f8be484]58
[b15e6404]59 <para os="i">Now we will install the TCL headers into /tools.</para>
[3f8be484]60
[b15e6404]61<screen os="j"><userinput>make install-private-headers</userinput></screen>
[3f8be484]62
63 <para os="k">Now make a necessary symbolic link:</para>
64
[94e6142]65<screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
[3f8be484]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>
[134ba96]91 <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
[3f8be484]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>
[134ba96]101 <indexterm zone="ch-testsuite-tools-tcl tclsh">
[3f8be484]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>
[134ba96]111 <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
[3f8be484]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.