delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/20/14:27:18

Date: Wed, 20 May 1998 16:24:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tony Kao <MacGyver AT ms11 DOT accmail DOT com DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: gcc 2.8.1 outputs are much larger than gcc 2.7.2 ... why ??
In-Reply-To: <6jr414$qgs$1@news.itri.org.tw>
Message-ID: <Pine.SUN.3.91.980520162246.26283A-100000@is>
MIME-Version: 1.0

On Tue, 19 May 1998, Tony Kao wrote:

> with the compile option: gcc -o hello.exe hello.cpp -lstdcx
> I found the execution file size is 386560 bytes, which is much bigger than
> gcc 2.7.2 outputs. For gcc 2.7.2 the execution file size for the same
> program is 187675 bytes.

It is not meaningful to compare unstripped binaries.  They include 
debugging info, and the more debugging info, the better debugger support.

Please strip both binaries and then compare the sizes.

- Raw text -


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