Date: Fri, 24 May 1996 14:56:34 +0200 (IST) From: Eli Zaretskii To: Alessandro Guarguaglini Cc: djgpp AT delorie DOT com Subject: Re: djgpp & 387 emulator... In-Reply-To: <9605241047.AA10525@rcl.comune.livorno.it> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 24 May 1996, Alessandro Guarguaglini wrote: > a math coprocessor. I can get everything working on his machine by using emu387 > and setting the appropriate env. variable. What I would like to know is if there > is a way to include the math emulator directly into the .exe file, because he > maybe need to use the program on different machines, expecially at University, > and so this solution would be better. No, in DJGPP v1.x this is impossible. Switch to DJGPP v2, and you will be able to link your program with an emulator library to achieve this. > Moreover, I need to kwow if is possible > to set the program to don't use the internal math-coprocessor and use insthead > the emulator. I tryed the SET 387=NO, but the program still works even if I > don't set any emulator. You can't do this, either. Moreover, if you could, your program would crash under Windows, because in DJGPP v1.x FP emulation doesn't work in DPMI environment (and DPMI is the only way DJGPP can work under Windows). You can read more about this in Chapter 11 of the DJGPP FAQ list (available as faq102.zip from the same place you get DJGPP).