delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/07/02:37:45

Date: Wed, 7 Jun 1995 08:50:57 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: havemann AT uran DOT informatik DOT uni-bonn DOT de
Subject: Re: libm on 386SX whithout 387 - HOW?
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> In the djgpp documentation I found that programs linked using -lm for sin or 
> cos can only run on true 386DX or 386SX with 387SX - but how can I emulate 
> a floating point unit on a 386SX without 387?

You need an FP emulator.  DJGPP includes one such, and there is another one
contributed by a user.  The DJGPP FAQ list (available as faq101.zip from the
same place you get/got DJGPP) discusses the emulator and related issues in
question 3.4 (where it points you to the files you should download to get the
emulator) and in Chapter 11 (where it gives specific advice on how to set it
up and how to troubleshoot).  More set-up info can be found in the README.DJ
file.

> cos? - Funnily enough that the same executable that crashes on a 386SX 
> runs fine on a 386DX without 387 !

Are you sure there isn't 387 on that DX?

- Raw text -


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