Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 20:21:37 -0400 (EDT)
From:      Brian Feldman <green@unixhelp.org>
To:        "Donald J . Maddox" <dmaddox@conterra.com>
Cc:        "Daniel C. Sobral" <dcs@newsguy.com>, Gianmarco Giovannelli <gmarco@scotty.masternet.it>, Gianmarco Giovannelli <gmarco@giovannelli.it>, hackers@FreeBSD.ORG
Subject:   Re: Uox, Linux emul and missing things.
Message-ID:  <Pine.BSF.4.10.9904232020290.68896-100000@janus.syracuse.net>
In-Reply-To: <19990423180142.B435@dmaddox.conterra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Apr 1999, Donald J . Maddox wrote:

> 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_ */

Actually, I'd like a sysctl of machdep.npxcw, as most others probably would.
And the INITAL to be BDE's, too.

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

 Brian Feldman                _ __ ___ ____  ___ ___ ___  
 green@unixhelp.org                _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!      _ __ | _ \ _ \ |) |
         http://www.freebsd.org           _ |___)___/___/ 



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?Pine.BSF.4.10.9904232020290.68896-100000>