Mail Archives: djgpp/1994/11/16/02:49:41
I had a strange experience just now. I made up a new batch file
to set up djgpp, in which in setting the go32 environment variable
I misspelled the emulator parameter "emu" as "emul". So presumably
it was not known that I needed the emulator (my 386 has no 387).
After compiling a program that used floating point, and running
coff2exe to create a standalone executable, I found, not surprisingly,
that the program crashed on the first FP instruction.
The strange part is that the original coff program, executed as, say,
"go32 foo", did _not_ crash, but ran correctly.
How is this inconsistency explained? In neither case did go32 know
I needed emulation, at least not from the env variable. What gives?
Thanks!
Mike Feldman
------------------------------------------------------------------------
Michael B. Feldman - chair, SIGAda Education Working Group
Professor, Dept. of Electrical Engineering and Computer Science
The George Washington University - Washington, DC 20052 USA
202-994-5919 (voice) - 202-994-0227 (fax) - mfeldman AT seas DOT gwu DOT edu (Internet)
------------------------------------------------------------------------
Ada on the World-Wide Web: http://lglwww.epfl.ch/Ada/
------------------------------------------------------------------------
"Non illegitimi carborundum." (Don't let the bastards grind you down.)
------------------------------------------------------------------------
- Raw text -