www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/20/16:00:19

From: "Barry" <barryem AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Using allegro in RHIDE
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <wZBV4.247732$AT6.345504@dfw-read.news.verio.net>
Date: Sat, 20 May 2000 14:47:08 -0500
NNTP-Posting-Host: 204.2.12.62
X-Complaints-To: abuse AT verio DOT net
X-Trace: dfw-read.news.verio.net 958852060 204.2.12.62 (Sat, 20 May 2000 19:47:40 GMT)
NNTP-Posting-Date: Sat, 20 May 2000 19:47:40 GMT
Organization: Verio
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm still unable to get my program to run in rhide.  It's a simple
program that uses allegro.  So, I've deleted and totally
re-installed djgpp and rhide and allegro.

I've found that if I run the program in rhide with ctrl F9 and have
no breakpoints, the program runs to completion and all is well.

But, if I put a breakpoint on the first executable line in main and
run it I get the following error:
   Program has received a signal:  SIGFPE, Arithmetic exception.

If I try to run my program (after compiling from the command line
or with RHIDE) with rhgdb, it crashes early in the program and the
messages scroll by too fast for me to know what happened.  But in
rhgdb it crashes whether I try to use a breakpoint or just run the
program.

I can run the program from dos just fine.

I'm doing this on an old 486sx laptop and of course there is no
FPU.  Is there something I have to do to tell rhide that I don't
have an FPU?  I don't really know this is the problem but it's all
that I can think of

I've also tried ex1.c, the first example program that comes with
allegro and I have exactly the same results with it.  It works fine
from the command line but run with a breakpoint or with F4 in
rhide, I get the arithmetic exception.

Does anyone have any ideas?

Barry



- Raw text -


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