Everything

 

-OPtimize / -NOOPtimize [V2.01.00 or later]


This option specifies whether link-time optimization is to be executed.

[Specification format]

-OPtimize[=SYmbol_delete]
-NOOPtimize

 

-

Interpretation when omitted

Link-time optimization is executed. It is the same result as when the -optimize option is specified.

[Detailed description]

-

This option executes link-time optimization (inter-module optimization) for a file for which the -goptimize option was specified in the process of compilation or assembly.

-

The -optimize option performs optimization.

The -nooptimize option suppresses optimization.

-

At link-time optimization, CC-RH deletes variables or functions that have not been referenced even once in the program.

-

The -entry option used to specify the start address is necessary for searching for variables or functions that have not been referenced.

-

symbol_delete can be specified as the parameter. However, it has the same meaning as when no parameter is specified.

-

If the -optimize or -nooptimize option is specified more than once, the last specification is valid.

-

A warning will be output and link-time optimization not performed in the following case.

-

When the -entry option is not specified

-

An error will occur in the following case.

-

When an invalid string is specified as the parameter of the -optimize option