Hi Harold Vogel
You didn't mention your device. If you're using kinetis, the optimization options in CodeWarrior can be set up in the GCC compiler settings:

You can also check this post:
https://mcuoneclipse.com/2012/11/11/optimizing-the-kinetis-gcc-startup/
About the code size you can check these posts by our colleague Erich:
https://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-ecl...
https://mcuoneclipse.com/2012/09/24/code-size-information-with-gcc-for-armkinetis/
https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/
Have a great day,
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------