X-Authentication-Warning: mail.bio.uva.nl: Host biomacI-138.bio.uva.nl [145.18.167.138] claimed to be [145.18.167.138] Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 18 May 1999 13:06:33 +0200 To: Eli Zaretskii From: dlanor AT dds DOT nl (Ronald Landheer) Subject: Re: FPU emulation Cc: Dlanor Blytkerchan , djgpp AT delorie DOT com Reply-To: djgpp AT delorie DOT com >> From RHIDE, I've used both -lemu and -lwmemu (together and seporatly) as >> compiler option (which was passed in both compiling and linking and ignored >> in compiling) and as linker option (which produced an extra command-line >> parameter: "-Xlinking"). >Does this work from the command line? Did you try? If not, please >try and tell if it works. If it doesn't work, please post the exact >command line used to link against the emulator and the exact error >messages emitted by the compiler/linker. I've gotten it to work from RHIDE. I don't exactly know why, because I haven't actually changed anything from the way I first tried it: I'm still using "-lemu" as command-line parameter for the compiler (RHIDE passes it to the compiling and linking step, but the compiling step simply ignores it). The program I was using to test this has now been compiled and is running about a million calculations to see if it works. It's slow, but it hasn't crashed yet (and it was never meant to be fast anyway). The command-line used is: "gcc -g -mcpu=i386 -march-i386 -lemu -o xyplan.c" (if I remember correctly: as I said, it's running right now. I'll have a look and correct it if I'm wrong). xyplan.c is a clean c file (cleanC = ANSI + some small macro's designed to make it more flexible & readable) I am no longer using the float.h header file: just stdio.h stdlib.h and math.h Like I said: I have no idea why it works now and didn't before, but I don't really mind either: as long as it keeps working.. >Btw, don't use -lwmemu, it was compiled by an old version of DJGPP and >will get you undefined references. I'll delete the library then: if it doesn't work anyway, why keep it? Greetz! Dlanor ----- This message reached you from the messy desktop of: Ronald Landheer Currently working his butt off at: The University of Amsterdam Faculty of Biology Kruislaan 318 1098-SM Amsterdam The Netherlands