delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/16/10:00:55

Date: Wed, 16 Mar 94 09:06:41 -0500
From: dj AT ctron DOT com (DJ Delorie)
To: M DOT Piff AT sheffield DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: GO32 and go32 question

> I need to have environment variable GO32 set if I need to do graphics. Do I
> also need it set to enable the FPU emulator? I ask because I have an FPU, but
> many of my colleagues do not. Thus I need to pass on programs that they can
> run. If I put the emu option in my GO32 at *compile* time, is that
> sufficient, or do they have to have the emulator available at *run* time too?
> Also, does the graphics driver file similarly have to be made available, or
> is that included at compilation time?

The environment variable is only used by your application at runtime.
Note that it needs to be set at compile time so that gcc can run (gcc
is a go32 app also).  The graphics driver and emu387 are loaded at
runtime.

> Second question. If go32 is bound into an .EXE file, does anyone who runs
> this have to set GO32 appropriately, and have the above files available? If
> so, I would not regard the .EXE file as a stand-alone program.

You still need the graphics driver and emu387 available.  V2.0 will
use drivers that can be linked in or runtime loaded (I hope).

> Third question. How do I make a program that can be run on a variety of
> graphics monitors?

Use GR or GRX.  Since the drivers are loaded at runtime, the end user
can pick the one they need.


- Raw text -


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