From: "Salvador Eduardo Tropea (SET)" To: jan AT stack DOT urc DOT tue DOT nl, djgpp AT delorie DOT com Subject: Re: Size optimizations? Date: Tue, 23 Jul 1996 16:19:34 +0300 (GMT) Message-ID: <9607231619.aa20519@ailin.inti.edu.ar> >: > Sorry if this is in the FAQ, but *I* sure couldn't find it. Are there >: > any optimizations you guys can suggest that would reduce the size of a >: > C++ .exe file? >: You probably have an old FAQ. The latest version 2.01 (v2/faq201b.zip) >: has an entire section 8.15 devoted to this. >: And remember to link with -s, otherwise your executable includes all the >: symbols. >And if I remember correctly dont use -O2 or -O3 or the compiler will make >all funcitons calls inline! Hey!!!! -O3 is the cache killer for 486 not -O2. ;) SET. ******************************************************************************** Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar Work: INTI (National Institute of Industrial Technology) Sector: ICE (Electronic Control & Instrumentation) Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina