delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/16/14:30:06

From: Steve<_s_t_e_v_e_ AT maths DOT tcd DOT ie> no underscores
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How much of the .EXE gets used?
Date: 16 Aug 1997 12:30:02 +0100
Organization: Department of Maths, TCD.
Lines: 24
Sender: steve AT maths DOT tcd DOT ie
Message-ID: <5t42vq$9t6@salmon.maths.tcd.ie>
References: <5t1dtp$oie AT news DOT network DOT com> <33F523D0 DOT 77D3 AT concentric DOT net>
Reply-To: _s_t_e_v_e_ AT maths DOT tcd DOT ie
NNTP-Posting-Host: salmon.maths.tcd.ie
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Meta <syzmik AT concentric DOT net> writes:

>Mike Collins wrote:
>> 
>> When I compile a "Hello world" in assembler, it's a LOT smaller than 
>> compile it under DJGPP.I just wondered, how much of that 80,355 byte 
>> has the *potential* of being executed under given conditions (errors, 
>> how much of it is just dormant code that can never be branched to?

[snip]

Theres also some environment overhead. You can save a couple
of kb by defining null bodies for them. Assuming of course 
you dont need them!

D:\DJGPP\STEVE\PRED\MAIN.CC:__crt0_glob_function()			{ }
D:\DJGPP\STEVE\PRED\MAIN.CC:__crt0_load_environment_file()	{ }
D:\DJGPP\STEVE\PRED\MAIN.CC:__crt0_setup_arguments()		{ }

Steve.
-- 
--
Stephen Kennedy -- _s_t_e_v_e_ AT maths DOT tcd DOT ie
(remove the underscores for email)

- Raw text -


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