www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/22/03:02:46

Date: Mon, 22 Apr 1996 09:55:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Gallagher <billg AT io DOT org>
Cc: djgpp AT delorie DOT com
Subject: Re: WMEMU emulator causes "__djgpp_exception_state undefined"
In-Reply-To: <4ldue3$pdg@news1.io.org>
Message-Id: <Pine.SUN.3.91.960422094915.16643A-100000@is>
Mime-Version: 1.0

On Sun, 21 Apr 1996, Bill Gallagher wrote:

> When I link in the libwmwmu.a file (which I understand will allow
> floating point debugging on emulated systems), I get a complaint from
> the linker that it cannot find a function called
> "__djgpp_exception_state".  Since this problem does not exist with the
> libemu.a emulator, I assume it is needed by the wmemu library.

I didn't look too deep, but it seems that wmemu was compiled with an
incompatible set of header files or an early beta version of a library. 
`__djgpp_exception_state' is #defined on <sys/exceptn.h> to be
(*__djgpp_exception_state_ptr), but the source of WMEMU doesn't include 
that header.  Maybe you should get the sources and recompile the WMEMU 
library?  )If you do, note that you must include <setjmp.h> before 
<sys/exceptn.h>, or it won't work.)

If and when you find what was wrong, please tell here, so that if there is
a bug it could be corrected, and the FAQ updated if needed.  (And yes,
WMEMU should allow you to debug FP code on a FPU-less machine.)

- Raw text -


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