Mail Archives: djgpp/2001/12/20/08:03:06
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. 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.</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> =
<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> =
<FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">Eli Zaretskii</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"MS Sans Serif">Sent:</FONT></B> =
<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> =
<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> =
<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> =
<FONT SIZE=3D1 FACE=3D"MS Sans =
Serif">Re: Executable size</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">> From: tupdegrove AT agere DOT com (Tim =
Updegrove)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> Newsgroups: =
comp.os.msdos.djgpp</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> Date: 19 Dec 2001 08:18:47 =
-0800</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> Quick background. I'm =
using the DJGPP compiler for allocating memory</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> with physical addresses for use =
with a PCI based DMA controller. The</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> program runs in DOS and =
everything works fine. Our only complaint is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> the executable size. A =
simple "hello world" program is 105kb.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> We have heard of other =
compilers/environments where the executable</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> size was 40kb with functional =
user code. Is there any way (option) to</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">> 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 -