2 |
7u83 |
1 |
<!-- Crown Copyright (c) 1998 -->
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<TITLE>tcc User's Guide: The Function of tcc</TITLE>
|
|
|
5 |
</HEAD>
|
|
|
6 |
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#400080" ALINK="#FF0000">
|
|
|
7 |
<A NAME=S1>
|
|
|
8 |
<H1>tcc User's Guide</H1>
|
|
|
9 |
<H3>January 1998</H3>
|
|
|
10 |
<A HREF="tcc3.html"><IMG SRC="../images/next.gif" ALT="next section"></A>
|
|
|
11 |
<A HREF="tcc1.html"><IMG SRC="../images/prev.gif" ALT="previous section"></A>
|
|
|
12 |
<A HREF="tcc1.html"><IMG SRC="../images/top.gif" ALT="current document"></A>
|
|
|
13 |
<A HREF="../index.html"><IMG SRC="../images/home.gif" ALT="TenDRA home page">
|
|
|
14 |
</A>
|
|
|
15 |
<IMG SRC="../images/no_index.gif" ALT="document index"><P>
|
|
|
16 |
<HR>
|
|
|
17 |
|
|
|
18 |
<H1>1. The Function of tcc</H1>
|
|
|
19 |
Like most compilation systems, the TDF C system consists of a number
|
|
|
20 |
of components which transform or combine various types of input files
|
|
|
21 |
into output files. <CODE>tcc</CODE> is designed to be a compilation
|
|
|
22 |
manager, coordinating these various components into a coherent compilation
|
|
|
23 |
scheme. It is also the normal user's interface to the TDF system on
|
|
|
24 |
Unix machines: direct use of the various components of the system
|
|
|
25 |
is not recommended. Therefore it is worth familiarising oneself with
|
|
|
26 |
<CODE>tcc</CODE> before attempting to use the TDF system. To aid this
|
|
|
27 |
familiarisation <CODE>tcc</CODE> has been designed to have the same
|
|
|
28 |
look and feel as the system C compiler <CODE>cc</CODE>, but with added
|
|
|
29 |
functionality to deal with the additional features of the TDF system.
|
|
|
30 |
This does not mean that <CODE>tcc</CODE> can be necessarily regarded
|
|
|
31 |
as a direct replacement for <CODE>cc</CODE> ; the extra portability
|
|
|
32 |
checks performed by the TDF system require the precise compilation
|
|
|
33 |
environment to be specified to <CODE>tcc</CODE> in a way that it cannot
|
|
|
34 |
be to <CODE>cc</CODE>.<P>
|
|
|
35 |
There are two basic components to this paper. The first describes
|
|
|
36 |
the TDF compilation strategy and how it is implemented by <CODE>tcc</CODE>.
|
|
|
37 |
The second is a Quick Reference section at the end of the paper, which
|
|
|
38 |
is intended to be a <CODE>tcc</CODE> user's manual. For even quicker
|
|
|
39 |
reference, <CODE>tcc</CODE> will print a list of all its command-line
|
|
|
40 |
options (with a brief description) if invoked with the <B>-query</B>
|
|
|
41 |
option.<P>
|
|
|
42 |
<HR>
|
|
|
43 |
<P><I>Part of the <A HREF="../index.html">TenDRA Web</A>.<BR>Crown
|
|
|
44 |
Copyright © 1998.</I></P>
|
|
|
45 |
</BODY>
|
|
|
46 |
</HTML>
|