Bought 2 years of computer, installed a lot of software, not work space, light soft mirror has 100G, 2 points, I this is still top with it, can not stand, decisive re-install system, installed after eclipse whim, do not want to install what VC, not only the interface is poor, bug also many, although there are many enterprises with, Own use is also quite cool, is suddenly sentimental a bit, add the CDT plugin
Good to the following:
Eclipse and CDT This is official online, although the domestic website has but this version is not as new as the official online truth, CDT is in Eclipse help directly with the URL online add plugin. MinGW (minimum gun for Windows) This is also under the gun official web, GDB, this piece of crap used to be useless before, Under the 7.3a.tar.gz, official online is actually source code, with Windows, difficult to achieve for a 4M of things next virtual machine installed Linux compiled? Too lazy to make up. Or on the Internet to find a gdb.exe, others made up good.
installation, the spirit of the less loaded the better the principle, in the MinGW, choose g++ and make, change ***-make.exe file for Make.exe, this online information has, I will not repeat. environment variables, path plus a mingw bin on it, because it is a relatively high version of the JDK, so the Java environment variables do not have to tube, and then put Gdb.exe into the bin. Win+r try, gcc useful, gdb also useful, OK, next match eclipse,window>c/c++->new CDT Project>makefile project inside, Binary Parsers Choose PE Windows Parser, this time you can compile and run, try, Hello World project, well, the proper, good, debug configuration, this is what I want to explain, the domestic and foreign check a lot of information, all kinds of pits, and finally was himself tried out, Debug configuration inside the debugger, (because path is already well-equipped, gdb and so on do not have to re-select) because of different versions of Eclipse, but mostly in the debugger inside, find use Configuration Special seting inside Debug All SELECT * * create* such, GDB (DFS) also choose Create. OK apply. Commissioning, duly completed.
Like on-line configuration, a succession of problems, fixed the emergence of that, like the launch failed. Binary not found,.gdbinit:no such file or directory,no source avaiable for __MINGW_CRT
Startup (), such as the problem of the classmate can refer to this article Debug configuration to make changes ...
Environment configuration for Eclipse (x64) +jdk (x64) +cdt+mingw+gdb under Windows 7 (x64)