X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sun, 09 Jan 2005 21:34:46 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4f682$Blat.v2.2.2$6c0eb0e0@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> 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 05:14:55 GMT > > > And what exactly does this print? > `Unnormal'. Haven't you forgot what this thread is for? Do you really think that this thread is the only one I'm reading? I get and read over 150 email messages (excluding spam) each day, so it's unreasonable to expect me to remember what you wrote several days ago. On top of that, you told that you have run various modifications of the code, and I have no reason to believe that they all produced the same output (you did at some point say that 0.00 is printed, I think). In other words, if people who are trying to help you are asking some question, please don't assume they do that out of ignorance or laziness. > > Also, what was the commands you used to compile, link, and execute the > > program? > `gcc -gstabs test.c -o test' to compile, `./test' to execute. Does it change anything if you omit -gstabs (it shouldn't, but I'd like to be sure)? 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?