www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/13:57:45

Sender: nate AT cartsys DOT com
Message-ID: <35C74A9B.BE7C0A06@cartsys.com>
Date: Tue, 04 Aug 1998 10:53:31 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
CC: djgpp AT delorie DOT com
Subject: Re: 80x87 detection in DJGPP programs
References: <199808041419 DOT JAA10555 AT kendall.>

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

- Raw text -


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