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 ...

Get Using csh & tcsh now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.