X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <96A72A73E6558943816BC2430CF0D3F5053555E9@pai820excuag01.ags.agere.com> From: "Updegrove, Timothy (Tim)" To: "'Eli Zaretskii'" Cc: djgpp AT delorie DOT com Subject: RE: Executable size Date: Thu, 20 Dec 2001 07:57:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C18955.E51B94A0" Reply-To: djgpp AT delorie DOT com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C18955.E51B94A0 Content-Type: text/plain Eli, Thank-you for the response. I did take a look at the FAQ, unfortunately after my post, and was able to reduce the size to an acceptable level with -s -O2 and using UPX. Thank-you for taking the time to respond. I love the support for DJGPP. > ---------- > From: Eli Zaretskii[SMTP:eliz AT is DOT elta DOT co DOT il] > Reply To: Eli Zaretskii > Sent: Wednesday, December 19, 2001 6:36 PM > To: tupdegrove AT agere DOT com > Cc: djgpp AT delorie DOT com > Subject: Re: Executable size > > > 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. > ------_=_NextPart_001_01C18955.E51B94A0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: Executable size

Eli,

Thank-you for the = response.  I did take a look at the FAQ, unfortunately after my = post, and was able to reduce the size to an acceptable level with -s = -O2 and using UPX.  Thank-you for taking the time to = respond.  I love the support for DJGPP.

------_=_NextPart_001_01C18955.E51B94A0--