Flags for minimum code size

Stuart Jarriel sjarriel@motive.com
Wed Aug 29 18:26:00 GMT 2001


Are there any flags (other than -O) that help reduce C++ code size for 
shared libraries.
This is template-free code, but it does use exceptions and threads. 
 Trying the obvious
(-fno-inline) actually had the opposite effect.  This is gcc 2.96, and 
Im trying to
minimize the size of a shared library.

stuart



More information about the Gcc-help mailing list