Talk:How to install a newer version of GCC

Discussions and mention of user- or system-specific issues go here.

GCC 4.6 may not install on some systems?
A recent edit from a user said, "A noter : que GCC v4.6 ne s'installe pas chez certaine machine"

Build gotcha - PATH needs cygwin utilities ahead of windows utilities.
Great page - very useful.

One problem I ran into - my installation of cygwin set the PATH environment variable when you launch a shell to have the windows/system32 directory ahead of /bin and /usr/bin.

This caused the gcc build to fail when make tried to use 'sort' and got the windows version instead of the cygwin one.

Hi I updated my gcc according to http://cygwin.wikia.com/wiki/How_to_install_a_newer_version_of_GCC but now whatever I want to do in my Cygwin I get:

configure:2236: error: C compiler cannot create executables

See `config.log' for more details.