1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
.TH 3CC 9.1
.CT 1 prog_c
.SH NAME
3cc, 3as, 3ar, 3ld, 3nm, 3size, 3strip, cprs \- MAC-32 C compiler
.SH SYNOPSIS
.B 3cc
[
.I option ...
]
.I file ...
.PP
.B cprs
.I infile outfile
.SH DESCRIPTION
.I 3cc
is the C compiler for the MAC-32 microprocessor in the
Teletype DMD-5620 terminal.
Its default action is to compile programs to run under the
.IR mux (9.1)
environment.
.PP
The behavior of
.I 3cc
is similar to
.IR cc (1).
Here are listed only options with special behavior for 5620s.
.TP
.B -J
Compile the named programs, and link them for running stand-alone
on a 5620 terminal.
.TP
.B -O
Invoke an object-code improver (not recommended).
.TP
.B -m
Compile the named programs for ordinary (non-jerq) environments.
.TP
.BI -D name = def
.br
.ns
.TP
.BI -D name
Define the
.I name
to the preprocessor,
as if by
.LR #define .
If no definition is given, the name is defined as
.LR 1 .
The symbol
.B MUX
is predefined unless
.B -J
or
.B -m
is set.
.TP
.BI -I dir
.L #include
files whose names do not begin with
.L /
are always sought first in the directory
of the
.I file
argument, then in directories named in
.B -I
options,
then in directories on a standard list, which includes
.FR /usr/jerq/include .
.PP
Associated object-code manipulating programs exist.
Their behavior is similar to the programs cited below.
The loader, assembler and archive program are System V
derivatives, and are slightly different in behavior;
see the System V manuals.
For typical uses, these differences are irrelevant.
The support programs include:
.TP
.I 3as
assembler, see
.IR as (1)
.PD 0
.TP
.I 3ar
archive, see
.IR ar (1)
(there is no
.IR 3ranlib )
.TP
.I 3ld
link editor, see
.IR ld (1)
.TP
.I 3nm
name list, see
.IR nm (1),
doesn't work on archives
.TP
.I 3size
object code size, see
.IR size (1)
.TP
.I 3strip
symbol table; see
.IR strip (1).
.RB ( -r
is mandatory for
.IR mux -runnable
binaries.)
.PD
.PP
.I 3strip
has no
.B -g
flag; but
.I cprs
removes redundant symbol table entries while
copying
.I infile
to
.IR outfile .
.SH FILES
.TF /usr/jerq/lib/m32/optim
.TP
.F a.out
loaded output
.TP
.F /tmp/ctm*
temporary
.TP
.F /lib/cpp
preprocessor
.TP
.F /usr/jerq/lib/m32/comp
compiler
.TP
.F /usr/jerq/lib/m32/optim
optimizer
.TP
.F /usr/jerq/lib/*.o
runtime startoff, etc.
.TP
.F /usr/jerq/lib/libc.a
standard library
.TP
.F /usr/jerq/lib/libj.a
stand-alone graphics library
.F /usr/jerq/lib/libmj.a
mux-runnable graphics library (default)
.TP
.F /usr/jerq/lib/muxmap
loader I-file
.TP
.F /usr/jerq/include
standard directory for
.L #include
files
.SH "SEE ALSO"
System V manuals for
.I 3ar, 3ld, 3as
and
.I cprs
documentation.
|