Sender: nate AT cartsys DOT com Message-ID: <35C74A9B.BE7C0A06@cartsys.com> Date: Tue, 04 Aug 1998 10:53:31 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Jeff Williams CC: djgpp AT delorie DOT com Subject: Re: 80x87 detection in DJGPP programs References: <199808041419 DOT JAA10555 AT kendall.> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Jeff Williams wrote: > > -: > -: > So my question is: how can I detect a 80x87 in a DJGPP program? > -: > -: The easiest way is to use the library function _detect_80387(). It > -: takes no arguments and returns non-zero if x87 is available. > -: > > This sounds useful..., but I can't find any mention of it using `info libc'. > What include file do I need for this function? Seems it isn't in any include file just at present. Prototype it yourself: int _detect_80387(void); Also, it's not documented. This should change in v2.02. -- Nate Eldredge nate AT cartsys DOT com