2 |
7u83 |
1 |
TCC ENVIRONMENTS
|
|
|
2 |
================
|
|
|
3 |
|
|
|
4 |
This directory contains the tcc environments; the files which are used
|
|
|
5 |
to configure the driver program tcc for a particular platform. It is
|
|
|
6 |
organised into subdirectories as follows:
|
|
|
7 |
|
|
|
8 |
common
|
|
|
9 |
<os>/common/common
|
|
|
10 |
<os>/common/<cpu>
|
|
|
11 |
<os>/<exec>/common
|
|
|
12 |
<os>/<exec>/<cpu>
|
|
|
13 |
<os>/<version>/common
|
|
|
14 |
<os>/<version>/<cpu>
|
|
|
15 |
|
|
|
16 |
for each operating system <os>, operating system executable format <exec>,
|
|
|
17 |
operating system version <version>, and processor type <cpu>. These are
|
|
|
18 |
listed from most generic to most target specific. A more target specific
|
|
|
19 |
version of a given environment always overrides a more generic version.
|
|
|
20 |
|
|
|
21 |
Each environment is run through a simple sed script as it is installed
|
|
|
22 |
which replaces certain placeholders by their value on the target machine.
|
|
|
23 |
These placeholders are:
|
|
|
24 |
|
|
|
25 |
-MACH- for the machine type '<os>/<cpu>',
|
|
|
26 |
-MACHDIR- for the private machine directory,
|
|
|
27 |
-BINDIR- for the private executable directory,
|
|
|
28 |
-ENVDIR- for the private environment directory,
|
|
|
29 |
-LIBDIR- for the private library directory,
|
|
|
30 |
-INCLDIR- for the public include file directory,
|
|
|
31 |
-STARTUPDIR- for the public start-up file directory,
|
|
|
32 |
-TMPDIR- for the temporary directory.
|