From: "A.Appleyard" 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 / 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.