Mail Archives: djgpp/2000/07/18/08:16:01
"Sébastien Kirche" <seki AT club-internet DOT fr> wrote:
> I am trying to port an old graphical Borland C program to djgpp/grx.
> I manage to compile, but it crashes at run-time.
[...]
> Does someone got a clue, to reduce that amount, or to point what causes such
> an allocation ?
The typical reason for the crash would be incorrect porting of 16bit
code that used 'far pointers' and segment to DJGPP, which doesn't have
the former, and where protected mode requires big changes in the way
you handle the latter.
The problems in the debuggers are hard to analyse remotely without
seeing at least a minimal source code that tackles them. For now, you
could still use 'nm' output of your executable to locate the position
of the crash.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -