delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/08/02:46:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Sat, 8 Dec 2012 05:22:23 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <172774712.20121208052223@mtu-net.ru>
To: "Paul Edwards" <mutazilah AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: gcc -ansi produces unexpected floating point result
In-Reply-To: <053813DFE7BC4339BCC55B4FE582BEE9@PPPHP>
References: <053813DFE7BC4339BCC55B4FE582BEE9 AT PPPHP>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Greetings, Paul Edwards!

>> 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 
> cross-compiler.

It's not an error, it's a matter of fact.
"no-cygwin" hackery was long since replaced by a proper cross-compiler.

> 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.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 08.12.2012, <05:21>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019