This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Flags for minimum code size
- To: gcc-help at gcc dot gnu dot org
- Subject: Flags for minimum code size
- From: Stuart Jarriel <sjarriel at motive dot com>
- Date: Wed, 29 Aug 2001 20:26:01 -0500
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