delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "arizvi" <ahmadwaris AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Program crashes on reaching a certain size |
Date: | 28 Feb 2005 14:07:14 -0800 |
Organization: | http://groups.google.com |
Lines: | 46 |
Message-ID: | <1109628434.833975.185760@o13g2000cwo.googlegroups.com> |
NNTP-Posting-Host: | 66.245.119.165 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1109628444 18057 127.0.0.1 (28 Feb 2005 22:07:24 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Mon, 28 Feb 2005 22:07:24 +0000 (UTC) |
User-Agent: | G2/0.2 |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | o13g2000cwo.googlegroups.com; posting-host=66.245.119.165; |
posting-account=Se-Idg0AAAC00LEpjdiQS7ZeyWGDYpCA | |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, 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: 0x00002380 0x000024a7 0x000094d3 0x0000267d 0x0003aa08 Any help will be appreciated!! Thank you, ARIZVI
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |