delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/24/16:19:04

Xref: news-dnh.mv.net comp.os.msdos.djgpp:557
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!swrinde!emory!news.cc.emory.edu!hobbes.cc.uga.edu!phoenix.cs.uga.edu!camann
From: camann AT phoenix DOT cs DOT uga DOT edu (Michael Camann)
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with FPU emulation
Date: 22 Jun 1995 19:32:26 GMT
Organization: Dept. of Entomology, University of Georgia
Lines: 33
Nntp-Posting-Host: phoenix.cs.uga.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

This is a followup to a similar question that recently appeared on 
comp.os.msdos.djgpp, but the poster did not include an email address
and any replies he received were not posted to the list.

When I compile programs containing floating point code, they run fine
under the 32-bit extender, i.e.:

go32 myprog

But when I stubize the same program with coff2exe or completely pre-
pend the DOS extender with coff2exe -s, the resulting executables
fail with a floating point exception, as though the go32 code is ignoring
the FPU emulator.  The earlier post mentioned that this would happen
even with a very simple program that did nothing but write "1.2" to
the screen.  I am having the same difficulty.  In essence, I cannot
create free-standing executables, although the COFF versions work fine.

Configuration:

486SX machine (hence the need for the FPU emulator), DOS 6.21.  I have 
the GO32 environment variable set to:

SET GO32=emu c:/djgpp/bin/emu387

Turning this off causes the floating point error to also occur when 
programs are run under go32.  I've also tried setting 387=NO, =YES,
and =QUERY.  All produce an effect, but none correct the problem.

Any suggestions would be greatly appreciated!

Mike Camann
University of Georgia
camann AT dial DOT pick DOT uga DOT edu

- Raw text -


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