Mail Archives: djgpp/1998/02/13/03:50:37
>I have created serveral programs using ALLEGRO and DJGPP with Rhide on a
>586 machine. They compile and execute correctly. When I attempt to run
>then on a 386 machine they will not execute. I have included the
>cwsdpmi.exe in the same directory as the program.
This seems different from what the subject line suggests... :-)
>One of the programs will show Title screen, but then crashes.
It is not much information you give... :-)
First of all: what are other differences between the two systems?
If 586 runs win95 and 386 doesn't (I would like to see one :-) then
it could be a problem within your program.
The DPMI server within win95 doesn't catch null pointer references (ie it
allows them without complaining) while cwsdpmi does and crashes in reply.
Anyway, after the crash you should see a traceback printed on the screen.
Post this here so that we can have a look at it.
If you compile your program with debugging symbols (IIRC the -g switch)
and then you can see the stack of function calls using the utility
"symify".
>Is the some type of setup that I am missing?
I am not sure if it is important at runtime, but does the autoexec.bat
contain a line looking like "set DJGPP=c:/djgpp/djgpp.env" ?
ciao
Giacomo
- Raw text -