delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/02/14/03:30:17

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: go32t.exe
From: alane AT wozzle DOT linet DOT org (J. Alan Eldridge)
Date: Fri, 12 Feb 93 07:04:40 EST
Organization: Disorganization

src4src!mcdhup!rutgers!hal.com!bobp (Bob Pendleton) writes:

> >For a strange reason, the executable created without debugging info is
> >smaller than the one processed with tdstrip. In theory they should be
> >of the same size ?
> 
> The compiler normally does a lot more optimization on code that is not
> meant for debugging. This means you should expect a stripped
> debuggable .exe file to be bigger than an non-debuggable .exe

Wrong.

Look at the exe like this:

|code|inited data|uninited data|debug info

If we don't have the debug info, we don't have to put the uninited data
into the file. THAT is where the space is being taken up, according to my
talks with Borland tech support.

alane AT wozzle DOT linet DOT org (J. Alan Eldridge)
Fido: The University of Woolloomooloo 1:272/38.473

- Raw text -


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