delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/23/12:01:26

Xref: news2.mv.net comp.os.msdos.djgpp:6317
From: jan AT stack DOT urc DOT tue DOT nl (Jan Oonk)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Size optimizations?
Date: 23 Jul 1996 12:22:43 +0200
Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
Lines: 20
Message-ID: <4t295j$12i@snail.stack.urc.tue.nl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960721111035 DOT 5526S-100000 AT is>
NNTP-Posting-Host: snail.stack.urc.tue.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:

: On Sun, 21 Jul 1996, Josh Stevens wrote:

: > 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!

 
-- 
Please EMAIL all replys to Jan AT stack DOT urc DOT tue DOT nl

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019