delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/24/21:34:27

Message-Id: <199711250232.VAA28286@delorie.com>
From: "sl" <SL AT usemail DOT com>
To: "DJGPP mailing list" <djgpp AT delorie DOT com>,
"Paul Derbyshire" <ao950 AT FreeNet DOT Carleton DOT CA>
Date: Mon, 24 Nov 97 21:38:40
Reply-To: "sl" <SL AT usemail DOT com>
MIME-Version: 1.0
Subject: Re: Excessive exe sizes

On 23 Nov 1997 03:05:10 -0500, Paul Derbyshire wrote:

>Because it's allocated at compile time in the data area of the .exe!
>
>If you allocate the array dynamically at run-time at the start of main()
>then you will have a reasonable .exe size and equivalent function.

	That is the dumbest thing I have ever heard. You are allocating MEMORY here, not diskspace! 
Regardless of if you allocate the array staticly or dynamically it should NOT use up diskspace!

Gili

- Raw text -


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