From: "Chris La Mantia" Newsgroups: comp.os.msdos.djgpp Subject: Re: How much of the .EXE gets used? Date: 16 Aug 1997 03:21:50 GMT Organization: gte.net Lines: 33 Message-ID: <5t36ce$drc$1@gte1.gte.net> References: <5t1dtp$oie AT news DOT network DOT com> NNTP-Posting-Host: 1cust182.tnt1.columbia.mo.da.uu.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mike Collins wrote in article <5t1dtp$oie AT news DOT network DOT com>... > When I compile a "Hello world" in assembler, it's a LOT smaller than if I > compile it under DJGPP.I just wondered, how much of that 80,355 byte program > has the *potential* of being executed under given conditions (errors, etc.) and > how much of it is just dormant code that can never be branched to? > > Mike. > -- > Don't just hit "reply" - my E-mail address is bogus > to avoid automatic browsers from sending junk mail. > Please use collim'at'anubis'dot'network'dot'com > Actually, even this doesn't stop all of them ... Much of that space is taken up by debugging symbols, the command line parsing and filename globbing code, and of course the code to put the system into protected mode and take it back out again. See section 8.15 of the DJGPP FAQ for details. Regards, --Chris --------------------------------------------------------------------------- Chris La Mantia / lamantia AT gte DOT net Current Project: Infinite Worlds, an RPG with a dynamic world http://home1.gte.net/lamantia/infinite NO UNSOLICITED COMMERCIAL E-MAIL ACCEPTED