Difference between revisions of "TCL"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "Contents" section from BLFS.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://prdownloads.sourceforge.net/tcl/tcl8.4.14-src.tar.gz
 
| http://prdownloads.sourceforge.net/tcl/tcl8.4.14-src.tar.gz
Line 26: Line 26:
 
  make install-private-headers &&
 
  make install-private-headers &&
 
  ln -v -sf tclsh8.4 /usr/bin/tclsh
 
  ln -v -sf tclsh8.4 /usr/bin/tclsh
 +
 +
=== Command Explanations ===
 +
 +
--enable-threads: This switch forces the package to build with thread support.
 +
 +
'''make install-private-headers''': This command is used to install the Tcl library interface headers used by other packages if they link to the Tcl library.
 +
 +
'''ln -v -sf tclsh8.4 /usr/bin/tclsh''': This command is used to create a compatibility symbolic link to the tclsh8.4 file as many packages expect a file named tclsh.
  
 
== Multilib ==
 
== Multilib ==
Line 69: Line 77:
 
  make install-private-headers &&
 
  make install-private-headers &&
 
  ln -v -sf tclsh8.4 /usr/bin/tclsh
 
  ln -v -sf tclsh8.4 /usr/bin/tclsh
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| tclsh and tclsh8.4
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libtcl.so and libtclstub8.4.a
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/lib/tcl8.4
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! tclsh
 +
| is a symlink to the tclsh8.4 program.
 +
|-valign="top"
 +
! tclsh8.4
 +
| is a simple shell containing the Tcl interpreter.
 +
|-valign="top"
 +
! libtcl.so
 +
| contains the API functions required by Tcl.
 +
|}

Revision as of 21:20, 9 December 2006

Download Source: http://prdownloads.sourceforge.net/tcl/tcl8.4.14-src.tar.gz

Introduction to TCL

The TCL package contains the Tool Command Language, a robust general-purpose scripting language. It was installed as part of the temporary system in CLFS for use with test suites, but was not reinstalled as part of the permanent system.

Dependencies

Non-Multilib

Compile the package:

cd unix &&
./configure --prefix=/usr --enable-threads &&
make

Install the package

make install &&
make install-private-headers &&
ln -v -sf tclsh8.4 /usr/bin/tclsh

Command Explanations

--enable-threads: This switch forces the package to build with thread support.

make install-private-headers: This command is used to install the Tcl library interface headers used by other packages if they link to the Tcl library.

ln -v -sf tclsh8.4 /usr/bin/tclsh: This command is used to create a compatibility symbolic link to the tclsh8.4 file as many packages expect a file named tclsh.

Multilib

32Bit

Compile the package:

cd unix &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --enable-threads &&
make

Install the package

make install

N32

Compile the package:

cd unix &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-threads &&
make

Install the package

make install

64Bit

Compile the package:

cd unix &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-threads &&
make

Install the package

make install &&
make install-private-headers &&
ln -v -sf tclsh8.4 /usr/bin/tclsh

Contents

Installed Programs: tclsh and tclsh8.4
Installed Libraries: libtcl.so and libtclstub8.4.a
Installed Directories: /usr/lib/tcl8.4

Short Descriptions

tclsh is a symlink to the tclsh8.4 program.
tclsh8.4 is a simple shell containing the Tcl interpreter.
libtcl.so contains the API functions required by Tcl.
Retrieved from "?title=TCL&oldid=4534"