Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 18:01:42 -0400
From:      "Donald J . Maddox" <dmaddox@conterra.com>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Gianmarco Giovannelli <gmarco@scotty.masternet.it>, Gianmarco Giovannelli <gmarco@giovannelli.it>, hackers@FreeBSD.ORG
Subject:   Re: Uox, Linux emul and missing things.
Message-ID:  <19990423180142.B435@dmaddox.conterra.com>
In-Reply-To: <371FB41B.B4B7A375@newsguy.com>; from Daniel C. Sobral on Fri, Apr 23, 1999 at 08:43:23AM %2B0900
References:  <4.1.19990422133009.00b95d10@194.184.65.4> <4.1.19990422213220.00a1bf00@194.184.65.4> <371FB41B.B4B7A375@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 23, 1999 at 08:43:23AM +0900, Daniel C. Sobral wrote:
> Gianmarco Giovannelli wrote:
> > 
> > At 02.19 23/04/99 +0900, Daniel C. Sobral wrote:
> > 
> > >FreeBSD defaults to signal floating point exceptions in case of
> > >overflow and things like that. Linux, I take it, does not.
> > >
> > >Short of correcting the program, I think there is a system wide
> > >setting to turn off floating point exceptions.
> > 
> > :-) can you input more verbosely ?
> 
> Like in, explaining what to do? :-) I don't know how to change the
> setting, I'm not even 100% sure it exists. Try listing sysctls.

If you really want to do this globally, try this patch to
src/sys/i386/include/npx.h:

--- npx.h.orig	Sun Jul 20 07:06:44 1997
+++ npx.h	Fri Jan 15 22:42:23 1999
@@ -142,5 +142,6 @@
 void	npxinit __P((int control));
 void	npxsave __P((struct save87 *addr));
 #endif
-
+#undef __INITIAL_NPXCW__
+#define __INITIAL_NPXCW__	__BETTER_BDE_NPXCW__
 #endif /* !_MACHINE_NPX_H_ */



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990423180142.B435>