delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/08/02:51:31

Message-ID: <3349E860.4258@eik.bme.hu>
Date: Tue, 08 Apr 1997 08:40:32 +0200
From: "DR. Andras Solyom" <solyom AT eik DOT bme DOT hu>
Reply-To: solyom AT eik DOT bme DOT hu
MIME-Version: 1.0
To: djgpp <djgpp AT delorie DOT com>
Subject: Strange problem: A DJGPP program won't start (was Allegro demos problem (was: Allegro 2.2))

In my previous post I wrote about the strange crashes in Allegro demos.
I suspected that the 'palantir' event library of Dim Zegebart caused the
problem, and I have found that it is really the case. When I compiled
the original Allegro 2.2 distribution all of the demos run perfectly
both in DOS and under Windows. These are the good news.

The bad news are that I have written a non-Allegro program for
converting data from dBase3 files. The program runs without any problems
in a Win95 or WIndows 3.1 DOS window, but exits with SIGFPE in clean
DOS. The strange thing is that *it exits when it reach main(), without
executing a single line in it* ! I confirmed this in gdb, with setting a
breakpoint at main(). I have tried to re-organize the object files,
without any success. And I have used the same object files (except the
one containing main() of course) in many other programs without any
problems! Any suggestion?
				Andras

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019