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