Re: gcc -ansi produces unexpected floating point result

2012-12-08 Thread Paul Edwards
Hi Marco. gcc4 is for building on cygwin for cygwin. -mno-cygwin was for building on cygwin for NO cygwin, like mingw. It is now a deprecated tweak. For that scope are now available 2 cross-compilers see packages: mingw-gcc-core mingw64-i686-gcc-core both as 4.5.x versions

Re: gcc -ansi produces unexpected floating point result

2012-12-07 Thread Paul Edwards
try gcc4, gcc3 is obsolete. Hi Marco. Unfortunately gcc-4 gives this error: C:\devel\bwbasicgcc-4 -mno-cygwin -ansi zatest.c gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. I'm also including the results of ldd on the gcc3 compile: C:\devel\bwbasicldd

Re: gcc -ansi produces unexpected floating point result

2012-12-07 Thread marco atzeri
On 12/7/2012 8:25 PM, Paul Edwards wrote: try gcc4, gcc3 is obsolete. Hi Marco. Unfortunately gcc-4 gives this error: C:\devel\bwbasicgcc-4 -mno-cygwin -ansi zatest.c gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. Hi Paul, gcc4 is for building on cygwin

Re: gcc -ansi produces unexpected floating point result

2012-12-07 Thread Andrey Repin
Greetings, Paul Edwards! try gcc4, gcc3 is obsolete. Unfortunately gcc-4 gives this error: C:\devel\bwbasicgcc-4 -mno-cygwin -ansi zatest.c gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. It's not an error, it's a matter of fact. no-cygwin hackery was

gcc -ansi produces unexpected floating point result

2012-12-06 Thread Paul Edwards
/* This program demonstrates a presumed bug in gcc 3.4.4 shipped with cygwin. If compiled with gcc -mno-cygwin -ansi, it prints: C:\devel\bwbasicgcc -mno-cygwin -ansi zatest.c C:\devel\bwbasica 0.00 2.00 Instead of the expected 2.00 for the first line, and undefined for

Re: gcc -ansi produces unexpected floating point result

2012-12-06 Thread marco atzeri
On 12/7/2012 8:04 AM, Paul Edwards wrote: /* This program demonstrates a presumed bug in gcc 3.4.4 shipped with cygwin. try gcc4, gcc3 is obsolete. If still exist, please check if the bug is present also on another platforms as it could be a general issue and not a cygwin specific one.