From: Damian Yerrick 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: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 wrote: >"Michael Citron" 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/