Mail Archives: djgpp/1993/02/14/03:30:17
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 -