[Linux-users] Strip ...

Bill Campbell linux-sxs
Thu Aug 16 16:12:27 PDT 2007


On Thu, Aug 16, 2007, Ben Duncan wrote:
>Ok, is there a way to SET the "strip" flag with the gcc options ?

Probably, but it may well depend on the target system (things are
very different on OS X and vary on others as well).

I wouldn't mess with this, accepting the normal defaults (you are
using automake and autoconf to generate portable configuration
setup aren't you :-).  Any gains you might get from stripping
will be minimal, and probably not noticeable in interactive
accounting applications and such.  If there's a program that's
particularly processing intensive or gets executed huge numbers
of times where the startup time is critical, you might worry
about this.

The general rule on optimization is don't do it unless there's a
significant performance problem.  Even then, the bottlenecks are
usually a very small portion of the code.

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The end move in politics is always to pick up a gun.  -- Buckminster Fuller



More information about the Linux-users mailing list