From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: coprocessor error Organization: Pin Eight Software Message-ID: <+oQeOHFJi5V5K34xlvfqOWAPWMFA@4ax.com> References: <381BE252 DOT E7128D47 AT wr DOT com DOT au> <7vh845$m5r$1 AT news8 DOT svr DOT pol DOT co DOT uk> X-Newsreader: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 35 X-Trace: /bNDC3AjdN6SG4nVo20NAAIrz3SrP4aB9t3EhVR5HlWcjIh4mSfC4TLpEClGu66xvUueyxGzxBWR!TaYbl7k6+zubXuNKjQgzEeBiwFecaNV0LBcsYiZvtIIXTxkW5XAPNMW3EFZTCVVjrA== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 02 Nov 1999 06:35:08 GMT Distribution: world Date: Tue, 02 Nov 1999 06:35:09 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 31 Oct 1999 11:09:37 -0000, "Stuart Gibson" wrote: > I think what you need to do is link your program to the math coprocessor > library. > Just add '-lemu' at the end of the line in your makefile which links > everything together to produce the executable program. > This will allow your program to work on systems that do > not have a math coprocessor. But isn't libemu really buggy? It crashed every time I tried to use DJGPP 2.02's version on my 486SX. I simply switched my math to fixed point, using the Allegro math library. One of the cool things about Allegro is that in different threads, I can call it a music library (implied by its name), a graphics library, an input library, and even a fixed-point math library. The linker just ignores any modules you don't call. (At least it should. :-) -- Damian Yerrick Visit my web site: http://yerricde.spedia.net/