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.
Can I modify the TV libraries ? I dont need any internationalization.
If I dont need the mouse, how can I remove mouse handling.
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.
The crash dump is given below:
Exiting due to SIGSEGV
General protection fault at eip = 00002380
eax=01da2724 ebx=001190e4 ecx=001190e4
edx=00078500 esi=0011ed54 edi=00119060
ebp=00118fe8 esp=00118f60 program=a:\test.exe
cs: sel=00a7 base=10000000 limit=0012ffff
ds: sel=00af base=10000000 limit=0012ffff
es: sel=00af base=10000000 limit=0012ffff
fs: sel=00bf base=00000000 limit=0010ffff
gs: sel=00bf base=00000000 limit=0010ffff
ss: sel=00af base=10000000 limit=0012ffff
App stack: [0011912c..0009912c]
Exception stack: [00099080..00097140]
Call frame traceback EIPs:
Any help will be appreciated!!