X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Thu, 20 Dec 2001 01:36:40 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: tupdegrove AT agere DOT com (Tim Updegrove) Message-Id: <3099-Thu20Dec2001013639+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <98cd06c8.0112190818.309c1f76@posting.google.com> (tupdegrove AT agere DOT com) Subject: Re: Executable size References: <98cd06c8 DOT 0112190818 DOT 309c1f76 AT posting DOT google DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: tupdegrove AT agere DOT com (Tim Updegrove) > Newsgroups: comp.os.msdos.djgpp > Date: 19 Dec 2001 08:18:47 -0800 > > Quick background. I'm using the DJGPP compiler for allocating memory > with physical addresses for use with a PCI based DMA controller. The > program runs in DOS and everything works fine. Our only complaint is > the executable size. A simple "hello world" program is 105kb. > > We have heard of other compilers/environments where the executable > size was 40kb with functional user code. Is there any way (option) to > reduce the size of the stub or whatever? Yes, see section 8.14 of the FAQ.