www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/10/04:11:45

Date: Tue, 10 Jun 1997 11:10:14 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Pieter Schoenmakers <tiggr AT ics DOT ele DOT tue DOT nl>, John English <je AT bton DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Fixed DJGPP libobc.a?
In-Reply-To: <x7206b7dil.fsf@tom.ics.ele.tue.nl>
Message-ID: <Pine.SUN.3.91.970610110922.3067L-100000@is>
MIME-Version: 1.0

On 9 Jun 1997, Pieter Schoenmakers wrote:

> This might work.  Put it in your program, in main, before the first
> Objective-C call.
> 
>   {
>     volatile short cw;
> 
>     __asm__ volatile ("fstcw (%0)" : : "g" (&cw));
>     cw |= 1;			/* Mask the `invalid' exception.  */
>     __asm__ volatile ("fldcw (%0)" : : "g" (&cw));
>   }
> 
> Please tell me if it works, and which version of DJGPP you're using.

Please also cc: me when you report if this works.  If it does, I would
like to put it into the DJGPP FAQ list.  Thanks.

- Raw text -


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