www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/14/18:49:34

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Derek" <djny AT flashmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1011211093830 DOT 19A-100000 AT is> <raJR7.9$zL5 DOT 45973 AT news DOT uswest DOT net> <7458-Wed12Dec2001185415+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Does LWP need a coprocessor?
Lines: 89
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <gZvS7.862$G11.135023@news.uswest.net>
Date: Fri, 14 Dec 2001 17:30:20 -0600
NNTP-Posting-Host: 216.161.131.87
X-Trace: news.uswest.net 1008372684 216.161.131.87 (Fri, 14 Dec 2001 17:31:24 CST)
NNTP-Posting-Date: Fri, 14 Dec 2001 17:31:24 CST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I would like to see the full error message printed when you try to run
> a floating-point program after setting 387=n.  Please post that here.

Okay, here goes:

Exiting due to signal SIGNOFP
Coprocessor not available at eip=0000157e
eax=00000001 ebx=00001000 exc=00000000 edx=00000000 esi=00000054
edi=000287cc
ebp=000a87a8 esp=000a8790 program=C:\KB\FLOAT.EXE
cs: sel=00a7  base=10000000  limit=000affff
ds: sel=00af  base=10000000  limit=000affff
es: sel=00af  base=10000000  limit=000affff
fs: sel=008f  base=000059c0  limit=0000ffff
gs: sel=00bf  base=00000000  limit=0010ffff
ss: sel=00af  base=10000000  limit=000affff
App stack: [000a87cc..000287cc]  Exceptn stack: [00028720..000267e0]

Call frame traceback EIPs:
  0x0000157e
  0x00010822



That's the message I get.

Heres my autoexec.bat:

@LH /L:0;1,45456 /S C:\DOS\SMARTDRV.EXE /X
@echo off
PROMPT $p$g
PATH C:\DOS;c:\progs;C:\HPLJUTIL;
SET TEMP=C:\DOS
set 387=n
rem c:\dos\vresume
rem LH /L:1,41520 vchad
rem c:\dos\mouse.com


Here's my config.sys:

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS
BUFFERS=30,0
FILES=30
DOS=UMB
LASTDRIVE=E
FCBS=4,0
DEVICEHIGH /L:1,12048 =C:\DOS\SETVER.EXE
DOS=HIGH

Here's the output of SET:

COMSPEC=C:\COMMAND.COM
PROMPT=$p$g
PATH=C:\DOS;C:\PROGS;C:\HPLJUTIL;
TEMP=C:\DOS
387=n


Here's my program:

#include <iostream>

main() {

float x = 12.3;

x = x / 10;

cout << x;

}




> Do you have a file emu387.dxe in your `bin' subdirectory?

The bin directory of DJGPP? Yes, but ah, this may be my problem. I am
compiling on a more modern PC to run on my 386 laptop. All the above
diagnostics were for the laptop. I should probably set 387=n on my compiling
pc. This would fix it, right?

Thanks for all the help,

Derek Young


- Raw text -


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