Date: Tue, 10 Jun 1997 11:10:14 +0300 (IDT) From: Eli Zaretskii To: Pieter Schoenmakers , John English cc: djgpp AT delorie DOT com Subject: Re: Fixed DJGPP libobc.a? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.