C++(1) C++(1) NAME CC, cfront - C++ compiler SYNOPSIS CC [ option ... ] file ... cfront [ option ... ] file ... DESCRIPTION CC compiles and links C++ programs in the manner of cc(1). It handles source files with names ending in `.c', assembler files in `.s', and object files in `.o'. Various passes of the compiler can be substituted via environment variables listed under `FILES'. Options include those of cc(1) except -B and -t, those of ld(1), those of cfront, and in addition -F Run only the macro preprocessor cpp(8) and cfront on the named .c files, and send the result to the standard output. -.suffix Instead of the standard output, place -E and -F output in files whose name is that of the source with .suffix substituted for `.c'. Cfront reads C++ code (without preprocessing) from the stan- dard input and writes equivalent C code on the standard out- put. The options are +d Don't expand inline functions. +xfile Take size and alignment information from file for cross compiling. +e0 +e1 Make external declarations (+e0) or definitions (+e1) for virtual function tables. These tables may appear as static data in every compilation; the options are intended to save redundant space. +a0 Produce classic C output (default). +a1 Produce ANSI C output. If this option is used with CC, then an ANSI C compiler such as lcc must be specified in environment variable ccC. +fname Use name to identify the source file in diagnostics. C++(1) C++(1) +L Produce ANSI standard #line directives instead of #number. FILES cppC=/lib/cpp C preprocessor cfrontC=/usr/bin/cfront C++ translator ccC=/bin/cc C compiler munchC=/usr/lib/munch linker postprocessor for static initialization C++ library standard directory for C++ `#include' files Other files as in cc SEE ALSO cc(1), ld(1) B. Stroustrup, The C++ Programming Language, Addison-Wesley, 1986 B. Stroustrup, C++ Reference Manual, AT&T Bell Laboratories, May 1989