JR>I am using Borland C++ 4.02. When I compile a small program (108 lines of
JR>code) that rolls some dice for me, it makes an exe file that is 79k in
size.
JR>Is there anyway to make this smaller. I would like my simple program to
e
JR>lot smaller. It doesn't really do that much, and I've seen program
ritten
JR>other authors do so much more, and be smaller than my little program. Any
JR>help in shedding some light would greatly be appreciated.
Use a small model library and turn off all the debug info. Debug info
takes a lot of space. For example, a file with debugging turned on might
be 80K and with debugging off an 9K file.
Hope that helps :)
--- FMail 0.92
# SLMR 2.1 # 100% Compression: fdisk.exe
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)
|