Mail Archives: djgpp/1993/02/06/15:58:02
I took a look at the emulator correspondence, and I noticed nobody
ever actually listed the GO32 variable. Here's the README and my
interpretation of the story:
The readme says:
> * An 80387 is required to do floating point. An emulator is provided.
> cc1 and cc1plus shouldn't use the 387 unless compiling floating point
> code. The environment variable "387" can override the auto-detection
> routine:
> SET 387=YES to force 387 handlers to be enabled
> SET 387=NO to force 387 accesses to fault
> SET 387=QUERY to get a message showing the results of the auto-detection
> If no 80387 is present and the program attempts to use it, a message
> indicating where the instruction is will be displayed. To use the
> 387 emulator, add "emu c:\djgpp\emu87\emu387" to the GO32 environment
> variable. Specifying use of the emulator overrides the "387"
> environment variable and autodetection code.
The problem:
> I tried modifying the GO32 variable to include the
> 80387 emulation, but the problem remains. Obviously I am
> doing something simple wrong, but I can't think what.
I guess:
He didn't include a full path to the emulator code. Or maybe there
was no emulator at the end of the path.
He continued:
> I kept the "emu" option in the GO32 variable...is there a
> preferred syntax on having multiple entries in the GO32
> SET -- like using ";" in PATH?
I guess:
Since the specification of "emu" in the GO32 variable overrides "387"
and auto-detection, keeping the "emu" option will cause you to hang up
on whatever error killed you in the first place.
I suggest:
* Get the emulator and put it where it belongs.
* Set the path and filename correctly in the "emu <path>emu387"
option.
***** OR *****
* *Remove the option* and set "387=NO" in the environment.
***** AND *****
* Whenever possible, *copy* the relevant portions of CONFIG.SYS and
AUTOEXEC.BAT to your posting so your consultants don't have to guess
what happened!
--
Stephen Turnbull
The Ohio State University, Department of Economics
410 Arps Hall, 1945 N. High St., Columbus, OH 43210-1172 USA
Phone: (614) 292-0654 Fax: ...-3906 Email: turnbull DOT 1 AT osu DOT edu
- Raw text -