www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/20/08:03:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <96A72A73E6558943816BC2430CF0D3F5053555E9@pai820excuag01.ags.agere.com>
From: "Updegrove, Timothy (Tim)" <tupdegrove AT agere DOT com>
To: "'Eli Zaretskii'" <eliz AT is DOT elta DOT co DOT il>
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)
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.89">
<TITLE>RE: Executable size</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Eli,</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Thank-you for the =
response.&nbsp; 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.&nbsp; Thank-you for taking the time to =
respond.&nbsp; I love the support for DJGPP.</FONT></P>
<UL>
<P><FONT SIZE=3D1 FACE=3D"MS Sans Serif">----------</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">From:</FONT></B> &nbsp; =
<FONT SIZE=3D1 FACE=3D"MS Sans Serif">Eli =
Zaretskii[SMTP:eliz AT is DOT elta DOT co DOT il]</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Reply To:</FONT></B> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">Eli Zaretskii</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Sent:</FONT></B> &nbsp; =
<FONT SIZE=3D1 FACE=3D"MS Sans Serif">Wednesday, December 19, 2001 6:36 =
PM</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">To:</FONT></B> =
&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">tupdegrove AT agere DOT com</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Cc:</FONT></B> =
&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">djgpp AT delorie DOT com</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Subject:</FONT></B> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">Re: Executable size</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt; From: tupdegrove AT agere DOT com (Tim =
Updegrove)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Newsgroups: =
comp.os.msdos.djgpp</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Date: 19 Dec 2001 08:18:47 =
-0800</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; Quick background.&nbsp; I'm =
using the DJGPP compiler for allocating memory</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; with physical addresses for use =
with a PCI based DMA controller.&nbsp; The</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; program runs in DOS and =
everything works fine.&nbsp; Our only complaint is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; the executable size.&nbsp; A =
simple &quot;hello world&quot; program is 105kb.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; We have heard of other =
compilers/environments where the executable</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; size was 40kb with functional =
user code.&nbsp; Is there any way (option) to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt; reduce the size of the stub or =
whatever?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Yes, see section 8.14 of the =
FAQ.</FONT>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C18955.E51B94A0--

- Raw text -


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