This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc -ansi produces unexpected floating point result
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 07 Dec 2012 21:21:04 +0100
- Subject: Re: gcc -ansi produces unexpected floating point result
- References: <053813DFE7BC4339BCC55B4FE582BEE9@PPPHP>
On 12/7/2012 8:25 PM, Paul Edwards wrote:
try gcc4, gcc3 is obsolete.
Unfortunately gcc-4 gives this error:
C:\devel\bwbasic>gcc-4 -mno-cygwin -ansi zatest.c
gcc-4: The -mno-cygwin flag has been removed; use a mingw-targeted
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
both as 4.5.x versions
I'm also including the results of ldd on the gcc3 compile:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77e70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll
msvcrt.dll => /cygdrive/c/Windows/syswow64/msvcrt.dll (0x75a60000)
It looks to me like I have done everything correctly, and it would
be good if gcc 3 still worked. gcc 3 is important to me for other
reasons (ie it is the only thing that supports the i370 target).
I don't have any other platform to try gcc 3.4.4 out on.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple