Mail Archives: djgpp/1997/05/12/23:17:45
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" |
+----------------------------------------+
- Raw text -