Install and Build TASH for Unix

This file describes how to get, install, and build TASH in a Unix environment and was last updated on To build TASH for Windows 95 instead, see the Windows 95 instructions.

Software use License Terms

It is my intention to make this software as freely available as possible, while not violating the rights of the Regents of the University of California and Sun Microsystems, Inc. This appears best done by simply using the License Terms included with Tcl/Tk.

Table of Contents (this page only)

Ada 95 Compiler
Get and Install Tcl/Tk
Get TASH
Extract TASH
Configure makefiles for your system
Build the basic system
Test TASH installation
Build and run the demo programs
Build your own!

Ada 95 Compiler

You will need an Ada 95 compiler to build TASH. The Unix version of TASH was built on a Sun with Solaris 2.5.1 and the GNU New York University Ada Translator (GNAT), version 3.10p. A description of GNAT may be found at Ada Home and it may be fetched via anonymous ftp from ftp://cs.nyu.edu/pub/gnat/ and its mirrors.

Get and Install Tcl/Tk

You will also need Tcl/Tk itself to build TASH. At a minimum, you must get the binary installation. Download Tcl/Tk 8.0 from Sun Microsystems. Follow the build and installation instructions included with the distribution.

Get TASH

Download any one of tash802.tar.gz, tash802.tar.Z, or tash802.zip. All three contain the necessary files for building both the Unix and Windows 95 variations of TASH.

The tar.gz file was created with Unix tar and GNU gzip. The tar.Z file was created with Unix tar and compress. The zip file was created with Info-ZIP.

Extract TASH

To uncompress and extract TASH from the tar.gz file, execute:
   gzcat tash802.tar.gz | tar xvf -
To uncompress and extract TASH from the tar.Z file, execute:
   zcat tash802.tar.Z | tar xvf -
To uncompress and extract TASH from the zip file, execute:
   unzip tash802.zip
The unzip program is available from numerous places including the Public Ada Library (PAL) in the PAL User Toolkit and the Info-ZIP site at Walnut Creek.

In each of the three cases, a directory named tash802 will be created in the current working directory.

Configure makefiles for your system

Change to the tash802 directory.

Execute the script, setup.tcl.

If Tcl/Tk was installed correctly, this will run a wish application which will allow you to establish values for several makefile macros used to customize your TASH build. In many cases, the default values will be OK. If not, then type in the correct values. Note that wish must be in your path for this script to run properly.

Press the Save button to create the file, Makefile.macros, in the tash802 directory.

Build the basic system

Change to the tash802/unix directory.

Execute make. This will build the Ada Tcl/Tk interface and the sample shell programs, tash and twash.

Test TASH Installation

The tests directory contains a program which tests that TASH was correctly installed and built.

Build and run the demo programs

The demos directory contains several programs which demonstrate various capabilities of the TASH binding.

Build your own!

Start writing your own GUI programs with TASH. If you're real proud of it, put it on the Net and send me a URL. I'll make a page within the TASH web pages that links to yours.


Author: Terry J. Westley
Email: twestley@buffalo.veridian.com
Web: http://tash.calspan.com/
File Ref: unix/README.htm
Last Updated: