The instance manager reduces compile time by generating a single instance of some kinds of functions:
The instance manager reduces the size of object code and debug information but does not affect the linker's output file size, though, since the compiler is effectively doing the same task as the linker in this mode.
The following table shows how to control the C++ instance manager.
| To control this option from here... | use this setting |
|---|---|
| CodeWarrior IDE | Use Instance Manager (-inst) in the C/C++ Build > ColdFire Compiler > Language Settings panel |
| source code | #pragma instmgr_file |
| command line | -instmgr |