Step 0: Install Cygwin
To use Eclipse for C/C++ programming, you need to first install Cygwin's C/C++ Development Tools (for compiling and debugging C/C++ programs). Read "Cygwin - How to Install". Make sure that you select "gcc", "g++", "gdb", and "make" packages under the "Devel" (Development) category, since these packages are not part of the default installation.
Step 1: Install Eclipse C/C++ Development Tool (CDT)
Two ways to install CDT, depending on whether you have previously installed an Eclipse runtime:
If you have installed "Eclipse for Java Developers" or other Eclipse packages, you could install the CDT plug-in from http://www.eclipse.org/cdt/downloads.php. Follow the installation instructions. (Launch Eclipse ⇒ Help ⇒ Install New Software... ⇒ Add... ⇒ in "Archive...", enter the CDT update site URL, e.g., http://download.eclipse.org/tools/cdt/releases/galileo.)
If you did not install any Eclipse package, you could download "Eclipse IDE for C/C++ Developers" from http://www.eclipse.org/downloads, and unzip the downloaded file into a directory of your choice.
No comments:
Post a Comment