TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JASON REYNOLDS
from: ADAM MAJER
date: 1998-01-01 13:50:00
subject: Help w/Compile Size

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.