X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <50C24FB0.6020608@gmail.com> Date: Fri, 07 Dec 2012 21:21:04 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gcc -ansi produces unexpected floating point result References: <053813DFE7BC4339BCC55B4FE582BEE9 AT PPPHP> In-Reply-To: <053813DFE7BC4339BCC55B4FE582BEE9@PPPHP> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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\bwbasic>gcc-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 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 > I'm also including the results of ldd on the gcc3 compile: > > C:\devel\bwbasic>ldd a.exe > ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77e70000) > kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll > (0x75f50000) > KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll > (0x75820000) > 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. > > Thanks. Paul. Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple