cygwin 1.5.18 breaks gcc 2.95 compatibility

Krzysztof Duleba krzysan@skrzynka.pl
Sat Jul 16 18:32:00 GMT 2005


Gerrit P. Haase wrote:

>> $ cat foo.c
>> int main(){
>> }
> 
> Your example compiles ok with gcc-3.4.4, so why want you use gcc-2.x?

Well, no wonder that int main(){} compiles ok with gcc-3.4.4. This is the 
minimal test case.

> Maybe you can recompile gcc-2.95 if you really must use it?

Do you know where can I find cygwin sources, or at least cygwin patches?

> However, gcc-2.95.3 was released 2001 which is about four years ago,
> it is time to move on!

I use the following compilers:

$ g++-2.exe --version
2.95.3-10

$ g++-3.3.exe --version
g++-3.3 (GCC) 3.3.3 (cygwin special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
g++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I need it. There are third parties out there that use certain compiler 
version and just won't upgrade. Slight differences in compiler or compiled 
code can be a factor.

Krzysztof Duleba


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list