From: phreadd AT powerup DOT com DOT au (David Orme) Newsgroups: comp.os.msdos.djgpp Subject: Re: EXE size Date: 9 May 1997 08:39:28 GMT Organization: Power Up Lines: 29 Distribution: world Message-ID: <5kuns0$mkv$1@grissom.powerup.com.au> References: <5kokdm$seh$1 AT news3 DOT microserve DOT net> Reply-To: phreadd AT powerup DOT com DOT au NNTP-Posting-Host: ts0208.powerup.com.au Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I found that if I added -s as a parameter at compile time (under rhide) my program size reduced significantly. Apparently rhide compiles the program with debug info imbedded and -s prevents this. Hope this helps In article <5kokdm$seh$1 AT news3 DOT microserve DOT net>, okapi AT ezonline DOT com says... > >Hello, I am very new to DJGPP (downloaded it the other day) and I'm >new to C/C++ but that isn't part of my problem... I noticed that when >I compiled a small program of about 10 lines, the EXE file size was >about 100k... all the program did was include iostream.h, and print >"hello, earth" (nice break from Hello, World) >Is there any way I can lessen the file size? >Thanks in advance... >"Hear me. And if I close my mind in fear, please pry it open. > See me. And if my face becomes sincere, beware. Hold me. And > if I start to come undone, stitch me together. Save me. And when > you see me strut, remind me of what left this outlaw torn." >Matt Gulden -- http://ezonline.com/okapi > -- +----------------------------------------+ | David Orme \/\ | | phreadd AT powerup DOT com DOT au /\/ | | powerup.com.au/~phreadd | +----------------------------------------+ | "Striving for Excellence" | +----------------------------------------+