Mail Archives: djgpp/1997/09/26/13:55:52
On Fri, 26 Sep 1997, Thomas Demmer wrote:
> Gurunandan R. Bhat wrote:
> [...] lots deleted because otherwise refused to post ...
> Try
> char x;
> int main()
> ...
>
> You have x on the stack, not in the data segment, so that might be the
> problem.
Hi, Tom,
Thank you for your suggestion. But I wonder if that
would be the cause. DJGPP programs get a 256K stack.
The mismatch in my segment limit is exactly 64K. Also
I am not sure to what extent this would solve the scond
problem which is that __dpmi_get_segment_limit() and
the call frame traceback do not agree on the segment
limit. In any case I will try that as soon as I get home.
Thanks,
Gurunandan
- Raw text -