| Rating |
Option |
Summary |
| PG |
| --diag_suppress <n1,n2,...> | |
Suppress diagnostic messages with numbers n1,n2,...
Use --display_error_number to find out the value of
n1,n2,...
|
| PG |
|
Display the number for a message along with diagnostic messages. Useful
in conjunction with the --diag_suppress option.
|
| PG |
| --link_command_prefix foo | |
Prefix link command with foo.
This is useful for memory checkers such as Purify and Sentinel
that must control the link step.
|
| PG |
| --output_dependencies file | |
Cause dependencies suitable for make(1) to be written to file.
Unlike -M, compilation also occurs.
|
| PG |
|
Fork up to n processes to handle compilation.
Parallel compilation occurs only when there is more than one source
file on the command line.
In some earlier versions, this flag also controlled recompilations
requested by the automatic template instantiation process. This is
no longer true, but expect shorter automatic template instantiation
delays anyway because of an improved algorithm.
|
| PG |
|
Specify precompiled header to create for use by --use_pch option.
|
| G |
|
Specifies directory for precompiled headers.
|
| PG |
|
Specify precompiled header to use when manually creating
such with --pch_create.
|
| PG |
|
Lets backend C compiler presume ANSI aliasing rules. See cc(1). |
| PG |
|
Specifies version of Alpha architecture. See cc(1). |
| PG |
|
Cause linker to prefer archive over shared library if it finds both.
|
| PG |
|
Specify maximum size in bytes for data items assigned to
small data area. See cc(1).
|
|
|
Limit global optimizer. See cc(1).
|
| G |
|
Name the output file or the executable file.
The output file may be an object file (.o),
archive (.a),
shared library (.so or .sl),
or executable.
DO NOT use other UNIX commands (such as mv) to
rename object files that need template instantiations.
|
| PG |
|
Tune to speicifc version of Alpha architecture. See cc(1). |
| PG |
|
Treat floating-point numbers as
abstract types.
This may improve optimization.
|
| PG |
|
Treat pointers as
abstract types.
This may improve optimization.
|
| PG |
|
Cause linker to prefer shared library over archive if it finds both.
|
| R |
|
Pass option to backend C compiler.
This is for advanced users who want
to pass obscure options to the backend C compiler.
|
| G |
|
Suppress the loading phase of the compilation process
and force an object file with the .o
extension to be produced.
|
| G |
|
Treat input file as ANSI C. |
| G |
|
Treat input file as C++. This is the default. |
| PG |
|
Use antiquated Cfront rules. This option may break some KAI C++
header files, as the modern ISO draft library depends upon
draft-ISO rules.
|
| PG |
|
Check syntax, but do not generate an object file
(or intermediate .int.c file).
|
| G |
|
Issue a summary of the seconds of CPU time required for the major
compilation steps. Some of the steps may always take zero time on
some platforms. Below are the steps timed:
| Front end |
Parsing, optimization and lowering to C
|
| Code generation |
Generating an object file from intermediate C
|
| Prelink |
Template instantiation
|
| Link |
Creation of an executable or library
|
| Static init |
Handling of static initialized objects
|
|
| PG |
|
Procedure rearranger. See cc(1). |
| G |
|
Run the front-end of the compiler only, producing an intermediate C
source file which has the .int.c extension.
Suppress the back-end and the linker phases of the compilation process.
|
| PG |
|
Preprocess the input file and stop.
The output is written to stdout.
|
| PG |
|
Enable or disable
exception handling.
The default is enabled.
|
| R |
|
Enable or disable support for the C++ keyword
explicit.
|
| PG |
|
IEEE support. See cc(1). |
| PG |
|
Allow algebraic rewriting of floating-point computations.
See cc(1).
|
| G |
|
Set -g option for backend C compiler.
Use +K0 instead for generating debug-able executables,
as just setting -g does not turn off front-end optimizations.
|
| PG |
|
Assure full IEEE support. See cc(1). |
| PG |
|
Enable or disable implicit inclusion for templates.
The default is --no_implicit_include.
|
| PG |
| --inline_auto_space_time=r | | --inline_generated_space_time=r | | --inline_implicit_space_time=r | | --inline_keyword_space_time=r | |
Control the increase in code size resulting from inlining functions.
|
| G |
|
Set high-level optimization level.
The high-level optimizer performs platform-independent
object-level optimizations. The levels are:
|
| R |
|
Retain intermediate C source file after compilation.
The file has the .int.c extension.
|
| G |
|
Add path to search path for libraries. |
| PG |
|
Generate dependence information for make.
Unlike --output_dependencies, compilation
does not occur.
|
| PG |
| --max_pending_instantiations n | |
Set limits on the number of pending instantiations to n.
The default is 17, which is the limit specified by standard.
Some programming techniques such as "template expressions" require
a higher limit. The error message, "error: excessive recursion
at instantiation of " and you have ascertained that the recursion
is not infinite, you should set a higher pending instantiation limit.
|
| G |
|
Set low-level optimization level. The levels are whatever are
supported by the platform's C compiler.
The default is a level appropriate for the +K[0123] setting.
|
| G |
|
Treat the input file as K&R C.
|
| -G |
| --one_instantiation_per_object | | --one_per | |
Cause each template instance to be assigned to a separate .o file.
This option should be used when compiling .o files that might
be put in archives. The form --one_per is simply
an abbreviated spelling.
|
| G |
|
Allow profiling. See cc(1).
|
| G |
|
Create and/or use precompiled headers.
|
| G |
|
Enable or disable messages concerning precompiled headers.
The default is to enable the messages.
|
| G |
|
Allow profiling by gprof. See cc(1).
|
| PG |
|
Make string literals read-only. This is the default. See cc(1).
|
| -PG |
|
Allow keyword restrict.
This may improve optimization.
|
| PG |
| --signed_chars | | --unsigned_chars | |
Select whether a variable of type char is treated as
signed char or unsigned char.
The default is unsigned char.
|
| PG |
|
Causes identifier to be used for the library name when
LD_LIBRARY_PATH is searched.
|
|
|
Do not add the standard include directories to the include search
path.
|
|
|
Enforce strict adherence to approximation of ISO draft language
implemented by KAI C++. This option affects only chapters 1-16
of the draft.
To enforce strict adherence to the ISO draft library
(chapters 17-27) use
-D__KAI_STRICT.
|
| PG |
| --suppress_c_to_obj_diagnostics | |
Suppress diagnostics from the C compiler used for code generation.
|
| G |
|
Make resulting code thread-safe. To guarantee thread safety,
this option must be used when compiling .o files and linking.
|
| PG |
|
Show compilation steps as they occur.
|
| PG |
|
Print compilation component version information.
|
| PG |
|
Disables compilation warning messages generated by the KAI C++
front-end
|
| PG |
|
Make string literals writable. See cc(1).
|