|
|
1.1 root 1: .TH C++ 1
2: .CT 1 prog_c
3: .SH NAME
4: CC, cfront \- C++ compiler
5: .SH SYNOPSIS
6: .B CC
7: [
8: .I option ...
9: ]
10: .I file ...
11: .PP
12: .B cfront
13: [
14: .I option ...
15: ]
16: .I file ...
17: .SH DESCRIPTION
18: .I CC
19: compiles and links C++ programs in the manner of
20: .IR cc (1).
21: It handles source files with names ending in
22: .LR .c ,
23: assembler files in
24: .LR .s ,
25: and object files in
26: .LR .o .
27: Various passes of the compiler can be substituted via
28: environment variables listed under
29: .SM `FILES'.
30: Options include those of
31: .IR cc (1)
32: except
33: .BR -B
34: and
35: .BR -t ,
36: those of
37: .IR ld (1),
38: those of
39: .I cfront,
40: and in addition
41: .TP
42: .BR -F
43: Run only the macro preprocessor
44: .IR cpp (8)
45: and
46: .I cfront
47: on the named
48: .B .c
49: files, and send the result to the
50: standard output.
51: .TP
52: .BI -. suffix
53: Instead of the standard output, place
54: .B -E
55: and
56: .B -F
57: output in files whose name is that of the source with
58: .BI . suffix
59: substituted for
60: .LR .c .
61: .PP
62: .I Cfront
63: reads C++ code (without preprocessing) from the standard input
64: and writes equivalent C code on the standard output.
65: The options are
66: .TP
67: .B +d
68: Don't expand inline functions.
69: .TP
70: .BI +x file
71: Take size and alignment information from
72: .I file
73: for cross compiling.
74: .TP
75: .B +e0
76: .PD0
77: .TP
78: .B +e1
79: Make external declarations
80: .RB (+e0)
81: or definitions
82: .BR (+e1)
83: for virtual function tables.
84: These tables may appear as static data in
85: every compilation;
86: the options are intended to save redundant space.
87: .PD
88: .TP
89: .B +a0
90: Produce classic C output (default).
91: .TP
92: .B +a1
93: Produce
94: .SM ANSI
95: C output.
96: If this option is used with
97: .I CC,
98: then an
99: .SM ANSI
100: C compiler such as
101: .I lcc
102: must be specified in environment variable
103: .BR ccC .
104: .TP
105: .BI +f name
106: Use
107: .I name
108: to identify the source file in diagnostics.
109: .TP
110: .B +L
111: Produce
112: .SM ANSI
113: standard
114: .B #line
115: directives instead of
116: .BI # number.
117: .SH FILES
118: .TF cfrontC=/usr/bin/cfront
119: .TP
120: .B cppC=/lib/cpp
121: C preprocessor
122: .TP
123: .B cfrontC=/usr/bin/cfront
124: C++ translator
125: .TP
126: .B ccC=/bin/cc
127: C compiler
128: .TP
129: .B munchC=/usr/lib/munch
130: linker postprocessor for static initialization
131: .TP
132: .F /usr/lib/libC.a
133: C++ library
134: .TP
135: .F /usr/include/CC
136: standard directory for C++
137: .L #include
138: files
139: .TP
140: Other files as in \fIcc\fR
141: .SH SEE ALSO
142: .IR cc (1),
143: .IR ld (1)
144: .br
145: B. Stroustrup,
146: .I The C++ Programming Language,
147: Addison-Wesley, 1986
148: .br
149: B. Stroustrup,
150: .I C++ Reference Manual,
151: AT&T Bell Laboratories, May 1989
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.