Eclipse CDT does not find either Cygwin or MinGW toolchain -
i having hard times configure eclipse juno c/c++. windows user, have installed cygwin
, mingw
, , cdt
under eclipse. configured path
variable correctly, though still not have new toolchain in eclipse c/c++ new project.
these eclipse details:
eclipse java ee ide web developers. version: juno release build id: 20120614-1722
also, see image of installed component of eclipse. enclosed outout windows command line:
c:\>echo %path% c:\program files\common files\microsoft shared\windows live;c:\program files (x8 6)\common files\microsoft shared\windows live;c:\windows\system32;c:\windows;c:\ windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program fil es (x86)\ati technologies\ati.ace\core-static;c:\program files\miktex 2.9\miktex \bin\x64\;c:\program files\matlab\r2011b\runtime\win64;c:\program files\matlab\r 2011b\bin;c:\program files (x86)\windows live\shared;c:\program files\java\jdk\b in;c:\program files (x86)\java\jre\bin;c:\program files (x86)\android\android-sd k\platform-tools;c:\program files (x86)\android\android-sdk\tools;c:\program fil es\python32;c:\program files (x86)\notepad++;c:\tomcat\bin;c:\users\administrato r\appdata\roaming\npm;c:\program files (x86)\gnu\gnuwin32\bin;c:\program files\n odejs;c:\users\administrator\appdata\roaming\npm;c:\mingw\bin;c:\msys\bin;c:\cyg win\bin c:\>gdb --version gnu gdb (gdb) 7.4 copyright (c) 2012 free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law. type "show copying" , "show warranty" details. gdb configured "i686-pc-mingw32". bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. c:\>make --version gnu make 3.81 copyright (c) 2006 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose. program built i386-pc-mingw32 c:\>g++ --version g++ (gcc) 4.7.0 copyright (c) 2012 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose. c:\>gcc --version gcc (gcc) 4.7.0 copyright (c) 2012 free software foundation, inc. free software; see source copying conditions. there no warranty; not merchantability or fitness particular purpose.
enclosed output cygwin shell:
cygwin package information package version status _autorebase 000085-1 ok _update-info-dir 01054-1 ok alternatives 1.3.30c-10 ok autoconf 10-1 ok autoconf2.1 2.13-10 ok autoconf2.5 2.68-1 ok automake1.9 1.9.6-10 ok base-cygwin 3.1-1 ok base-files 4.1-1 ok bash 4.1.10-4 ok binutils 2.22.51-2 ok bzip2 1.0.6-2 ok colorgcc 1.3.2-2 ok coreutils 8.15-1 ok crypt 1.2-1 ok cygutils 1.4.10-2 ok cygwin 1.7.15-1 ok cygwin-doc 1.7-1 ok dash 0.5.7-1 ok dejagnu 20021217-2 ok diffutils 3.2-1 ok dos2unix 6.0-1 ok editrights 1.01-2 ok expect 5.45-1 ok file 5.11-1 ok findutils 4.5.9-2 ok gawk 4.0.1-1 ok gcc 3.4.4-999 ok gcc-core 3.4.4-999 ok gcc-g++ 3.4.4-999 ok gcc-mingw 20040810-1 ok gcc-mingw-core 20050522-3 ok gcc-mingw-g++ 20050522-3 ok gcc-tools-epoch1-autoconf 2.59-1 ok gcc-tools-epoch1-automake 1.9.6-1 ok gcc-tools-epoch2-autoconf 2.64-1 ok gcc-tools-epoch2-automake 1.11.1-1 ok gcc4 4.5.3-3 ok gcc4-core 4.5.3-3 ok gcc4-g++ 4.5.3-3 ok gdb 7.3.50-3 ok gdbm 1.8.3-20 ok gettext 0.18.1.1-2 ok grep 2.6.3-1 ok groff 1.21-2 ok gzip 1.4-1 ok ipc-utils 1.0-1 ok less 444-1 ok libattr1 2.4.46-1 ok libbz2_1 1.0.6-2 ok libcloog0 0.15.7-1 ok libdb4.5 4.5.20.2-3 ok libffi4 4.5.3-3 ok libgcc1 4.5.3-3 ok libgdbm 1.8.0-5 ok libgdbm-devel 1.8.3-20 ok libgdbm4 1.8.3-8 ok libgmp3 4.3.2-1 ok libgmpxx4 4.3.2-1 ok libgomp1 4.5.3-3 ok libiconv2 1.14-2 ok libintl3 0.14.5-1 ok libintl8 0.18.1.1-2 ok liblzma5 5.0.2_20110517-1 ok libmpc1 0.8-1 ok libmpfr1 2.4.1-4 ok libmpfr4 3.0.1-1 ok libncurses10 5.7-18 ok libncurses9 5.7-16 ok libncursesw10 5.7-18 ok libpcre0 8.21-2 ok libpopt0 1.6.4-4 ok libppl 0.10.2-1 ok libreadline7 6.1.2-3 ok libsigsegv2 2.10-1 ok libssp0 4.5.3-3 ok libstdc++6 4.5.3-3 ok libstdc++6-devel 4.5.3-3 ok login 1.10-10 ok m4 1.4.16-1 ok make 3.82.90-1 ok man 1.6g-1 ok mingw-binutils 2.21-1 ok mingw-gcc-core 4.5.2-1 ok mingw-gcc-g++ 4.5.2-1 ok mingw-pthreads 20110507-1 ok mingw-runtime 3.20-1 ok mingw-w32api 3.17-2 ok mingw64-i686-binutils 2.22.52-1 ok mingw64-i686-gcc 4.5.3-6 ok mingw64-i686-gcc-core 4.5.3-6 ok mingw64-i686-gcc-g++ 4.5.3-6 ok mingw64-i686-headers 3.0b_svn5134-1 ok mingw64-i686-pthreads 20100619-4 ok mingw64-i686-runtime 3.0b_svn5134-1 ok mingw64-x86_64-binutils 2.22.52-1 ok mingw64-x86_64-gcc 4.5.3-6 ok mingw64-x86_64-gcc-core 4.5.3-6 ok mingw64-x86_64-gcc-g++ 4.5.3-6 ok mingw64-x86_64-headers 3.0b_svn5134-1 ok mingw64-x86_64-pthreads 20100619-4 ok mingw64-x86_64-runtime 3.0b_svn5134-1 ok mintty 1.1.1-1 ok perl 5.10.1-5 ok rebase 4.2.0-1 ok run 1.1.13-1 ok sed 4.2.1-2 ok tar 1.25-1 ok tcl 8.5.11-1 ok terminfo 5.7_20091114-14 ok texinfo 4.13-4 ok tzcode 2012b-1 ok w32api 3.17-2 ok 2.20-2 ok xz 5.0.2_20110517-1 ok zlib0 1.2.7-1 ok
i familiar why doesn't mingw show in list of eclipse/indigo cdt toolchains? , how deal eclipse cdt+cygwin? , http://wyding.blogspot.com/2009/04/setup-cygwin-toolchain-in-eclipse-cdt.html
could me realize wrong?
i have same problem. have found 2 possible solutions:
uncheck "show project types , toolchains if supported on platform" when choose "new project->c++ project->project type: executable".
uninstall "gnu autotools", can see options want.
Comments
Post a Comment