Mail Archives: djgpp/1995/05/01/03:16:06
>
> >We've sort of been through this before, and I know that solution is
> >to wait for Version 2 but...
> >
> >Why oh *why* does "make" use FPU instructions??? What are they needed for?
> >This might make for ease of porting, but the result is that under
> >a DPMI system [ Dos under OS/2 ] one cannot realisticly compile without a
> >coprocessor!
> >
> > *sigh*
> >
> > --Charles Hunter
>
> I dont understand this. I was given to believe that OS/2 will install
> its own emulator library if your CPU has no FPU, so it will transparently
> execute FPU instructions.
Umm... not on my OS/2. Are you sure about this? Maybe this is
a shareware product? I know that this is not the case for
Warp or 2.1 .
c:\work\ > make
------------------------------------------------------------------------------
MAKE.EXE:
Sys2237: DosKrnl A NPX instruction was attempted, but no NPX is
present.
EXPLANATION: You have an application attempting to use the numeric
coprocessor, but no coprocessor is present on the system.
ACTION: Install a numeric coprocessor and retry the application.
------------------------------------------------------------------------------
As I have been reminded, this is not always the fault of MAKE, but
also of GCC but since MAKE is the parent, OS/2 will report it as the fault of
MAKE. The error is caused [ As is well known ] because emu387 does not
work under DPMI. DJGPP version 2 takes care of this.
Does anyone know of an FPU emulator for OS/2 ? This would be a nicer solution.
However, if I would just scrounge up a few dollars for a 387 someday,
I wouldn't have to worry ;)
Thanks to all that helped,
Charles
P.S. I may take the time to compile an FPU-less version of all
the DJ sources some day, but I am really busy now...
anyone else up to the challenge? It shouldn't be too difficult.
- Raw text -