From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Trig Bug? Date: Sat, 29 Jan 2000 17:23:07 +0200 Organization: NetVision Israel Lines: 26 Message-ID: <389305DB.F02B8876@is.elta.co.il> References: <86u8f1$4g8$1 AT ssauraac-i-1 DOT production DOT compuserve DOT com> NNTP-Posting-Host: ras1-p40.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 949159396 3088 62.0.172.42 (29 Jan 2000 15:23:16 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 29 Jan 2000 15:23:16 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,ru,hebrew To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.