X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Samuel Lauber" Newsgroups: comp.os.msdos.djgpp 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> Subject: Re: Strange problems with printf() Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Sat, 08 Jan 2005 22:01:16 GMT NNTP-Posting-Host: 204.210.96.202 X-Complaints-To: abuse AT rr DOT com X-Trace: twister.socal.rr.com 1105221676 204.210.96.202 (Sat, 08 Jan 2005 14:01:16 PST) NNTP-Posting-Date: Sat, 08 Jan 2005 14:01:16 PST Organization: RoadRunner - West To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > 5.86 works for me. If it doesn't for you, please post the details of > your DJGPP setup: the versions of the compiler and Binutils, the > version of the library, and the OS on which you are running DJGPP. OK. I have djdev203.zip from a few weeks ago, GCC 3.4.3 (the one on ftp.delorie.com, binary), Microsoft Windows ME running a DOS box, uname -a says `MS-DOS DELL 8 00 pc unknown', Binutils 2.15 (everything binary from ftp.delorie.com/pub/djgpp/current), DJGPP libc from 2.03. My GCC flags were -gstabs+. My FPU is in hardware (though -msoft-float did -Unnormal, and -lemu did more 0s then could fit on the screen). Test code (slightly modified from the one in the orig. post, but it was the code that first revealed it): int printf(char *, ...); int main(void) { printf("%f\n", 5.86); return 0; } Samuel Lauber