Mail Archives: djgpp/2000/01/29/11:35:09
Creed wrote:
>
> I downloaded and installed djdev203.zip Monday and the bug went away,
> and did not come back.
Good.
> >> I believe I am using libemu.a (I never downloaded that WEMU thing.)
>
> >No, you don't ;-). First, to use libemu.a, you need to link with
> >the -lemu switch, which you didn't do. And second, there's a known
> >bug in djdev202, whereby even if you link with -lemu, the program uses
> >emu387.dxe instead, since some piece of the machinery that is required
> >to use the library was omitted from djdev202. Again, upgrade.
>
> I did notice I had the same bug with -lemu . (And I mistakenly
> concluded that meant I was using libemu.a always.) Any thoughts on
> which is better for which purpose?
Both the emulator and the libemu.a library share exactly the same code, so
accuracy-wise both alternatives are the same.
Linking with -lemu has an advantage that you don't need to bring the
emu387.dxe module together with your programs if you copy them to other
machines. The disadvantage is that the executable is slightly larger. What
is better is up to you.
- Raw text -