diff options
Diffstat (limited to 'chapter05/tcl-inst.xml')
-rw-r--r-- | chapter05/tcl-inst.xml | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/chapter05/tcl-inst.xml b/chapter05/tcl-inst.xml index 523ce4463..e2e5da3a5 100644 --- a/chapter05/tcl-inst.xml +++ b/chapter05/tcl-inst.xml @@ -3,15 +3,32 @@ <sect2> <title>Installation of TCL</title> +<para>This package and the next two are only installed to be able to run the +test suites for GCC and Binutils. Installing three packages just for for +testing purposes may seem like overkill, but it is very reassuring, if not +essential, to know that our most important tools are working properly.</para> + +<para>Prepare Tcl to be compiled:</para> + <para><screen><userinput>cd unix -./configure --prefix=/stage1 -make +./configure --prefix=/stage1</userinput></screen></para> + +<para>Build, test, and install the package:</para> + +<para><screen><userinput>make make test -make install -ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para> +make install</userinput></screen></para> + +<para>Note that some of the tests may fail, and that this is not a problem: +the program will work well enough to be able to run the GCC and Binutils test +suites.</para> + +<para>Make a link:</para> +<para><screen><userinput>ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para> -<para>Don't remove the tcl&tcl-version; directory yet, you need it for the -next package installation.</para> +<para>Do <emphasis>not remove</emphasis> the +<filename>tcl&tcl-version;</filename> directory yet, as the next package will +need its internal headers.</para> </sect2> |