Mail Archives: djgpp/1998/06/21/10:15:22
Eli Zaretskii wrote:
>
> On Fri, 19 Jun 1998, Russell Wallace wrote:
>
> > -O3 21 megaflops
> > -O3 -lemu 13 megaflops
> >
> > My understanding had been that -lemu should make no difference at all if
> > the program does in fact end up running on a machine with FP
> > hardware.
>
> This is how it should work, yes.
>
> > Can anyone explain the reason for this discrepancy, and whether there's
> > anything that can be done about it?
>
> Did you try setting 387=y in the environment? If you did, you will
> need to see how exactly does the emulator affect your program. AFAIK,
> it shouldn't.
I tried that; no difference.
> In general, these issues are somewhat less debugged, since almost
> everybody has FP hardware these days.
Yeah.
> > (Short of forgetting about working
> > as-is and requiring users of 386s to run one of the .exe emulators,
> > which is what I'm planning to do as things currently stand.)
>
> Why do you need to ``require'' your users? The DJGPP startup code
> will automatically load the emulator, it just needs to be in the same
> directory as the binary.
Ah! I missed that; I thought the emulator had to be run prior to
running the program. That's straightforward enough, so I'll go with
that option then. Thanks.
--
"To summarize the summary of the summary: people are a problem."
Russell Wallace
manorsof AT iol DOT ie
- Raw text -