tcl-inst.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of TCL</title>
  4. <para>This package and the next two are only installed to be able to run the
  5. test suites for GCC and Binutils. Installing three packages just for for
  6. testing purposes may seem like overkill, but it is very reassuring, if not
  7. essential, to know that our most important tools are working properly.</para>
  8. <para>Prepare Tcl to be compiled:</para>
  9. <para><screen><userinput>cd unix
  10. ./configure --prefix=/tools</userinput></screen></para>
  11. <para>Build, test, and install the package:</para>
  12. <para><screen><userinput>make
  13. make -k test
  14. make install</userinput></screen></para>
  15. <para>Note that several of the tests may fail (for exmple the clock test).
  16. This is, however, not a problem: the program will work well enough to be able
  17. to run the GCC and Binutils test suites.</para>
  18. <para>Make a link:</para>
  19. <para><screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen></para>
  20. <caution><para><emphasis>Do not remove</emphasis> the
  21. <filename>tcl&tcl-version;</filename> source directory yet, as the next package
  22. will need its internal headers.</para></caution>
  23. </sect2>