delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/31/02:10:58

Date: Sun, 31 Mar 1996 09:04:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: TwinkieMan <twinkieman AT aol DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: floating point error
In-Reply-To: <4jd887$t24@newsbf02.news.aol.com>
Message-Id: <Pine.SUN.3.91.960331085929.10484W-100000@is>
Mime-Version: 1.0

On 28 Mar 1996, TwinkieMan wrote:

> I am using DJGCC v2.0 on a 386SX-20 (no math coprocessor) and cannot debug
> floating point programs using GDB without getting a floating point
> exception.  I've tried linking with the emulator library (LIBEMU.A I
> believe), but that doesn't seem to help.  I have the EMU387 environment
> variable pointing to the .DXE math coprocessor emulator file and have 387
> set to "n".  Any suggestions?  

The first suggestion would be to read the FAQ.  Section 12.7 tells you
that you cannot debug a program which uses floating point on a machine
without an FP hardware (unless you use `WMEMU' as your emulator).  So
please try using WMEMU (it should be in the file v2misc/wmemu2b.zip at the
same site you got DJGPP) and see if that helps.

- Raw text -


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