Mail Archives: djgpp/2005/03/01/05:31:15
>> 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.
I suggest you ensure that you have the latest TV used in the Rihde
1.5.01, this way there will be less bugs in it.
Andrew
- Raw text -