O'Reilly logo

Using csh & tcsh by Paul DuBois

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build the Distribution—Detailed Instructions

If the quick build doesn't work or if you want to review and perhaps modify the configuration parameters, follow the instructions given in this section. Read the entire procedure described below before you proceed.

The files that contain information about building tcsh are as follows:

  • README: the general readme file

  • README.imake: the imake-specific readme file

  • FAQ : the frequently-asked-questions list

  • Ported: the file that describes build flags for systems to which tcsh has been ported

I recommend that you browse through these files before proceeding.

Overview of the Build Process

Here is a summary of the steps involved in building tcsh:

  • Decide where you want to install tcsh.

  • Configure Makefile. If you are using imake, the Makefile is generated from Imakefile and imake.config; otherwise the Makefile is created from Make-file.std.

  • Configure config.h. This file contains system-dependent configuration flags used at compile time. The file is created for you automatically if you are using imake; otherwise, you create config.h from one of the files in the config directory.

  • Configure config_ f.h. This file contains options that turn on or off various tcsh features.

  • Compile tcsh.

As you get set up to build tcsh, you may need to make changes to one or more of the files mentioned above. Use the following procedure to save a copy of any file that you need to modify:

% cp file file.orig               Save copy of original file
% chmod 644 file                  Make working copy writable so that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required