Mail Archives: djgpp/2005/02/28/18:15:03
> From: "arizvi" <ahmadwaris AT hotmail DOT com>
> Date: 28 Feb 2005 14:07:14 -0800
>
> Can anyone tell me how to reduce application size of a Turbovision
> program compiled with djgpp. A medium sized TV application easily
> becomes 1MB in size, and I need my executable to be much less in size.
Did you strip the executable, or does it still include debug info?
> The reason I need this is that whenever I reach a certain line of code,
> my program crashes. I have identified the exact line in my code on
> reaching which the program crashed. This line of code itself is not the
> culprit (no illegal memory access) because when I reduce the
> application size by deleting the lines before this line, the
> application does not crash.
If that's the reason, I'd suggest to debug the cause of the crashes,
not to sweep the bug under the carpet. I'm sure you have a real bug
on your hand, and even if you make the program smaller somehow, that
bug will eventually raise its ugly head.
- Raw text -