11.3 Optimization switches

This is where the various optimizing switches and their actions are described, grouped per switch.

-On: 
with n = 1..4: these switches activate the optimizer. A higher level automatically includes all lower levels.
-OaX=Y
Set alignment of X to Y.
-Oo(NO)XXX
Enable or disable specific optimizations; See section 1.2.60 on 154 for a list of possible values for XXX.
-OpXXX
Set target cpu for optimizing to XXX; see fpc -i or fpc -ic for possible values.
-OWXXX
Generate whole-program optimization feedback for optimization XXX see fpc -i or fpc -iw for possible values.
-OwXXX
Perform whole-program optimization XXX; see fpc -i or fpc -iw for possible values.
-Os
Optimize for size rather than speed.

A more complete description of possible optimization switches can be found in section 1.2.60 on 154.