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
JR> size. Is there anyway to make this smaller. I would like my simple
JR> program to be a lot smaller. It doesn't really do that much, and I've
seen
JR> program written by other authors do so much more, and be smaller than my
JR> little program. Any help in shedding some light would greatly be
JR> appreciated.
You are not alone. A simple Hello World program results in a 30k executable
on my system (BC++ 4.52). This is a known "problem", and I'm still working
on a solution.
Actually, there is a solution: Recompile the run-time library with exception
handling disabled (#define NOXX). Unfortuantely, the RTL doesn't want to
compile without errors for me.
--- PointEd 2.0
---------------
* Origin: The Tibbs' Point - Ottawa, Ontario, Canada (1:163/215.38)
|