tcc User's Guide

January 1998

next section previous section current document TenDRA home page document index


1 - The Function of tcc
2 - The TDF Compilation Strategy
3 - The Overall Design of tcc
4 - tcc Environments
5 - The Components of the TDF System
6 - Miscellaneous Topics
7 - tcc Reference Guide

1. The Function of tcc

Like most compilation systems, the TDF C system consists of a number of components which transform or combine various types of input files into output files. tcc is designed to be a compilation manager, coordinating these various components into a coherent compilation scheme. It is also the normal user's interface to the TDF system on Unix machines: direct use of the various components of the system is not recommended. Therefore it is worth familiarising oneself with tcc before attempting to use the TDF system. To aid this familiarisation tcc has been designed to have the same look and feel as the system C compiler cc, but with added functionality to deal with the additional features of the TDF system. This does not mean that tcc can be necessarily regarded as a direct replacement for cc ; the extra portability checks performed by the TDF system require the precise compilation environment to be specified to tcc in a way that it cannot be to cc.

There are two basic components to this paper. The first describes the TDF compilation strategy and how it is implemented by tcc. The second is a Quick Reference section at the end of the paper, which is intended to be a tcc user's manual. For even quicker reference, tcc will print a list of all its command-line options (with a brief description) if invoked with the -query option.


Part of the TenDRA Web.
Crown Copyright © 1998.