www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/10/03:04:19

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: djgpp AT delorie DOT com
Date: Mon, 10 Jun 1996 07:54:45 GMT
Subject: Re: Why are they so fat?
Message-ID: <283F86A3F3E@fs2.mt.umist.ac.uk>

On 7 Jun 1996, Martin Krieger wrote:
> `#include <iostream.h> / int main() {cout << "Hallo, Welt!\n";}' compiles to
> `TEST.EXE 158.101 07.06.96 23:21' Why is this nice little program so
> extremly huge? Is there a way to shrink it? (Any plans for optimizing
> linkers like that one Borland Pascal has?)

Eli Zaretskii wrote:
> Are you *really* interested in the size of a toy program like that?  Most of
> the overhead ... stays almost constant for much larger programs. ...

fredex AT fcshome DOT stoneham DOT ma DOT us wrote:-
> While toy programs are vastly larger than the same thing compiled with
> TC/BC/MSC, a real program of significant size tends not to be. ...

The extra bulk that Martin Krieger complains of, is NOT insignificant for a
user who has to keep a lot of compiled djgpp .EXE's. In a nearly full disk,
such extra bits of store usage per file add up.

- Raw text -


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