www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/13/23:00:49

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to reduce .EXE file size using RHIDE?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <livsmsslgpt6nc72jmavsi4emue70f5fph@4ax.com>
References: <Bzlb5.62592$_b3 DOT 1827596 AT newsread1 DOT prod DOT itd DOT earthlink DOT net> <m366q9rk7m DOT fsf AT midpec DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 29
X-Trace: /KDWjZSlyWRWFh7181KqWBhKjqAWvZIbr22eVr0l9PlzwSyYwRZSEr1Lk0qh6wUDyxfTfUr7GTry!6t+7WVCr0lfOo9zRdJBd7qUHadfah3YdOXRGwu8u9I5thlgECCTU84UpDJWs00yLpHTFem86s3Jd!gpY=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 14 Jul 2000 02:46:01 GMT
Distribution: world
Date: Fri, 14 Jul 2000 02:46:01 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 13 Jul 2000 23:22:45 +0530, Prashant TR <tr AT eth DOT net> wrote:

>"Michael Citron" <michaeljnc AT earthlink DOT net> writes:
>
>> I've just tried using the compiler for the first time and I'm using the
>> RHIDE interface.  A small (2) function program produced an .EXE of 148K
>> as opposed to 18K when produced by Turbo C 2.0.  How can I configure the
>> options in the IDE to produce smaller executables?
>
>DJGPP is used to write large programs. Or at least that's when you can
>get the max. out of a compiler like this. There are several reasons
>for the large size. They are all in the FAQ and workarounds are also
>mentioned there.
>
>ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/faq230b.zip
>
>And yes, you could use UPX to compress the EXE (http://upx.tsx.org).

But the OP wanted an option to create a "release" project (in addition
to a "debug" project) that would automatically run UPX on the result
of stubify.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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