www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/22/10:13:43

From: Victor Essers <essersvr AT perth DOT dialix DOT oz DOT au>
Subject: Large programs
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 22 Sep 1994 21:45:07 +0800 (AWST)
Cc: essersvr AT perth DOT dialix DOT oz DOT au (Victor Essers)

I used to use an earlier version of DJGPP (version 2.4.1) which produced
executables of size 650Kb or so for the program I was compiling. Now I
suddenly find out that these executables compiled with version 2.6.0
are about 1.65Mb!
	Examining the storage space that all of the variables in the program
should occupy (about 750Kb or so), I have come to the conclusion that
the previous version of DJGPP did not actually store the variables in
the executable files, but instead somehow dynamically allocated space
for them when the program was run with GO32.
	Does someone know about this discrepancy, and why it might be so?
If so, I would be very interested to hear about it (and grateful, since
quite frankly I'd PREFER to allocate the variables' space when the
program is run, so that it doesn't take up quite so much space on my
hard disk drive!).
	Thanks in advance, Victor R. Essers.

- Raw text -


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