cfe(1) — Commands
Digital
NAME
cfe − Preprocessor and C Front-end
SYNOPSIS
cfe [ option ] ... file ...
DESCRIPTION
cfe, the ANSI compliant Preprocessor and C Front-end.
FLAGS
−std0
The compiler enforces traditional mode, also called K&R mode with a few ANSI extensions. This mode is backward compatible with the C compiler prior to upgrading it to comply with ANSI C standard. This mode is similar to AT&T’s -Xt mode and GNU’s -traditional mode.
−std1
The compiler enforces strict ANSI mode, where only ANSI compliant code is acceptable. This mode is similar to AT&T’s -Xc mode and GNU’s -pedantic mode. −std The compiler enforces ANSI mode, but allows popular extensions. This mode is similar to AT&T’s -Xa mode and GNU’s -ansi mode. This is the default.
−Xdpn
Display parse tree if n is >0, otherwise don’t display tree.
−Xdsn
display semantic tree if n is >0, otherwise don’t display tree. −Xdsn and −Xdcn are mutually exclusive.
−Xdcn
display code generation tree if n is >0, otherwise don’t display tree. −Xdsn and −Xdcn are mutually exclusive.
−Xdyn
Yacc debugging, where n is the debug level number.
−Xdmn
Memory handler debugging, where n is the debug level number.
−Xden
Error handler debugging, where n is the debug level number.
−Xdhn
Display hash table statistics if n is >0, otherwise don’t.
−XdPn
Parser symbol debugging, where n is >0.
−XdSn
Syntax Analysis only, where n is >0.
−Tn Increase(larger n) or decrease tree size treshhold. Default 50.
−XdUn
disable or debug code generation. If n==1 or n is missing (-XdU), it disables code generation. With -XdU3, it turns on some debugging output. Code generation is enabled by default.
−Xdln
do layout if n > 0(temporary)
−Xdmn
do mips_st if n > 0(temporary)
−XdEn
debug declaration semantics if n > 0
−XdTn
debug instance table if n > 0
−Xfloat
Cause the compiler to never promote expressions of type float to type double ,including within function calls.
−nestlevel=n
Set the limit of nesting levels for #included files, default 50.
−oldcomment
Treat comment in old way by preprocessor, replace with nothing.
−verbose
Print long form of error message.
−signed
Cause all char declarations to be signed char declarations, the default is to treat them as unsigned char declarations.
−Zpn align structure members on alignment specified by the integer n.
−proto[is]
extract prototype declarations for function definitions into a .H suffixed file. The option i is to include identifiers in the prototype, and the option s is to generate prototypes for static functions as well.
ERRORS
EXIT VALUES
0 for normal exit
1 for CPP error exit
2 reserved for LINT error exit
3 for cfe error exit