Mail Archives: djgpp/1998/05/02/17:07:08
Hello,
I've been using DJGPP 2.80 with RHIDE 1.4 for about a month now
and I think it's *GREAT* but still have a few questions.
I have been lurking for a while and searching the mail
archives but can't seem to find the answers.
In all situations below, I'm using just DOS 6.22 without
Windows 3.11 running. HIMEM and EMM386 loaded. Using SMARTDRV.
I've also increased the DJGPP stack size to 29K (using STUBEDIT.EXE)
and the heap size to 40K (using CWSPARAM.EXE):
1) A large C program compiles and links successfully on a
Pentium 133Mhz with 40MB of RAM. The same program also
compiles but FAILS to link on a 486-33Mhz with 8 MB of RAM.
I get a SIGSEGV error. Possible solutions and fixes suggested
in the FAQ doesn't seem relevant to this problem. Does the current
version of DJGPP require "better" hardware than a 486?
(BTW, the 486 has a disk cache set to 2MB).
Would like suggestions about finding a solution for this.
I'm not sure how to decode the SIGSEGV error so any
help on that would be appreciated. Thanks.
2) How does one disable the "Time in ..." messages that the
compiler displays. I'm sure they are valuable for profiling
and optimization but I would just like to see any warning
or error messages without undue scrolling.
3) How does one check for "memory leaks". It seems there is no
exact equivalent in DJGPP to coreleft() or farcoreleft().
I sure would like to know if memory allocations are being
released.
4) To get rid of all debugger information, is using the "-s" switch
in the compilation all that is needed?
Thanks for your help in advance. I also plan on writing a review
about my experience with DJGPP and RHIDE on a web page if anyone
is interested.
Please cc: your replies directly to me. Thanks again.
Al
- Raw text -