Mail Archives: djgpp/1998/08/18/16:32:15
There are 3 major ways to reduce program size:
1) Run "strip" on the EXE you create
2) Compress it with DJP. You can get it on the FTP sites, it's called
MLPxxxB.ZIP in one of the V2xx directories.
3) Try not to use C++ functions unless it is truely necessary. HELLO WORLD in C
is only about 80 kb without compression/strip but C++ is around 200k.
--
"DeHackEd"
My Email address in the header is fake (spammers). Email me at this address:
http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
John Meyer wrote in message
<3 DOT 0 DOT 5 DOT 32 DOT 19980817161635 DOT 0082f1a0 AT mail DOT geocities DOT com>...
>I forgot to catch it, but why does my simple "Hello, World" Program take up
>240 K in DJGPP?
>
>
>
>---------------------------------------------------------------------------
>John Meyer
>john_meyer AT geocities DOT com
>Life and Leisure Editor-USC Today
>http://www.geocities.com/Athens/Forum/3843
>
>"Anyone who fights for the future, lives in it today" -Ayn Rand
>"Bad Cop! No Donut!"
>---------------------------------------------------------------------------
- Raw text -