From: "Marp" Newsgroups: comp.os.msdos.djgpp Subject: Re: Having problems with gcc '-msoft-float' using DJGPP Date: Sat, 23 Sep 2000 19:09:51 -0400 Organization: MindSpring Enterprises Lines: 19 Message-ID: <8qjd77$nao$1@slb1.atl.mindspring.net> References: <8qj5nf$ma9$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: 04.30.99.b8 X-Server-Date: 23 Sep 2000 23:09:27 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Stephen" wrote in message news:8qj5nf$ma9$1 AT nnrp1 DOT deja DOT com... > Hello! > > I am having problems compiling my program, which to be used on a computer > with no math co-processor. I used the -msoft-float command line option, but I > get errors that I cannot find the answer to. Here is a example: This option doesn't work for djgpp because no one has made the neccessary lib for it to work. However, you don't really need it because djgpp comes with a FPU emulator that is dynamically loaded on machines that need it. In order for it to work you must place the file emu387.dxe either in the same directory as the exe or in a directory in the PATH variable. The file emu387.dxe should be in your djgpp\bin directory. All you need to do is supply a copy of that file with your program and it will be loaded on machines that need it.