Talk:How to install a newer version of GCC
this wiki
Back to page
Discussions and mention of user- or system-specific issues go here.
GCC 4.6 may not install on some systems?
Edit
A recent edit from a user said, "A noter : que GCC v4.6 ne s'installe pas chez certaine machine" (Rough translation: Note: that GCC v4.6 will not install on some machines.) I moved that note here... it would be useful to describe what sorts of setups GCC 4.6 fail to install on. MartyMacGyver 21:37, July 10, 2011 (UTC)
steps completed. cygcheck seem to be out of date. found the article very helpful
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-cygwin/4.6.2/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++
Thread model: single
gcc version 4.6.2 (GCC)
$ cygcheck -c gcc-core
Cygwin Package Information
Package Version Status
gcc-core 3.4.4-999 OK
206.29.176.74 16:49, December 30, 2011 (UTC)
Build gotcha - PATH needs cygwin utilities ahead of windows utilities.
Edit
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.