delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/20/10:47:45

Date: Tue, 20 Jun 1995 09:21:52 -0400
From: kagel AT quasar DOT bloomberg DOT com
To: jips AT sol DOT unizar DOT es
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: 387 emulation only when needed
Reply-To: kagel AT ts1 DOT bloomberg DOT com

   Errors-To: postmaster AT ns1
   Date: Mon, 19 Jun 1995 17:38:41 +0100
   From: "Juan I. Perez" <jips AT sol DOT unizar DOT es>
   Content-Type: text
   Content-Length: 615

   I've compiled a floating point program with the 387 emulator

	   (I've appended this in the autoexec.bat)
	   SET 387=QUERY
	   SET GO32=emu c:\c\djgpp\bin\emu387

   in a 486 DX2-66 PC, and its performance is 100 times worst than with the real
   coprocessor (I'm not complaining).

   The question is: How must I compile a program for been capable of running
   in both a PC with 387 using the real coprocessor, and in a PC without 387,
   but with emulator?

	   Thanks in advance.

	   *---------------------------*
	   * Juan I Perez              *
	   * Zaragoza (Spain)          *
	   * e-mail:jips AT sol DOT unizar DOT es *
	   *---------------------------*

You just did!  Users with a co-processor will not include the "emu" parameter
in the GO32 environment variable, those without will.  You need to distribute
emu387 along with go32 with your app.

-- 
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

Variety is the soul of pleasure.  --  Aphra Behn

- Raw text -


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