X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 10 Jan 2005 06:41:03 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4f6ce$Blat.v2.2.2$bc82c880@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (sam124 AT operamail DOT com) Subject: Re: Strange problems with printf() References: <01c4f56a$Blat.v2.2.2$ecce5460 AT zahav DOT net DOT il> <6_TDd.54474$nP1 DOT 27946 AT twister DOT socal DOT rr DOT com> <01c4f5be$Blat.v2.2.2$9e630f60 AT zahav DOT net DOT il> <01c4f606$Blat.v2.2.2$b9766fc0 AT zahav DOT net DOT il> <01c4f682$Blat.v2.2.2$6c0eb0e0 AT zahav DOT net DOT il> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Samuel Lauber" > Date: Sun, 09 Jan 2005 19:52:52 GMT > > > Anyway, I'm beginning to suspect that you have some hardware problem > > on that machine. If you have a friend with a Windows box, can you try > > running a copy of test.exe on the other machine and see whether the > > behavior changes there? > I tried it with -msoft-float and -lemu, and it didn't change. "-msoft-float" is not supposed to work. As for -lemu, I think just linking with the emulator will not cause the emulation to be used on a machine that has an FP hardware (which all of them do nowdays). You need to explicitly force emulation by calling the function __dpmi_set_coprocessor_emulation (it is documented in the library reference manual). Can you try adding that call, link with -lemu, and see if the problem goes away? > That's as close as I can get. What, no other Windows machine anywhere where you can carry a floppy?