delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/16/02:04:24

From: Meta <syzmik AT concentric DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How much of the .EXE gets used?
Date: Fri, 15 Aug 1997 23:51:44 -0400
Organization: Concentric Internet Services
Lines: 12
Message-ID: <33F523D0.77D3@concentric.net>
References: <5t1dtp$oie AT news DOT network DOT com>
Reply-To: syzmik AT concentric DOT net DOT NOSPAM
NNTP-Posting-Host: ts011d16.sag-mi.concentric.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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?

Well, you can STRIP the code or compile with -s and you get it to about
40k. if you use the exe compresser, DJP (only one I know of that works
with djgpp exe's) and it gets to 18k. But, its doing a lot more than
printing hello world. Remember that you application is 32 bit, in
protected mode etc etc

- Raw text -


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