This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc -ansi produces unexpected floating point result

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.

Andrey Repin ( 08.12.2012, <05:21>

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]