Home > Back-end >  Under Windows Eclpse C development
Under Windows Eclpse C development

Time:10-02

This article assumes that you are already familiar with Java, Eclipse installation, and can be up and running smoothly Eclipse in addition because the software version in constantly update, some places may not be accurate, at the latest, the original data shall prevail,

From the last time to write and C + + programs, have 5 or 6 years, as the days went past time, now pick up again, a lot of things will be from the beginning to, under Windows C/C + + IDE has very much, I know there is MS Visual Studio, Borland C + +, etc., but these are copyright, don't also have some money, but because of the Eclipse too ripe, so I choose to tell Eclipse + below the GNU toolchain ('s words were the word toolchain image).

1. Download Eclipse for c + +, the latest version is based on Eclipse 3.5.1 track of, called Galileo (Galileo), version 3.4 on seemingly called ganymede (ganymede), download address: http://eclipse.org/downloads/, select 32 bit for Windows, the file named Eclipse - CPP - Galileo - SR1 - win32. Zip



2. Unzip, run directly, pay attention to, at least the JDK you have installed (I use JDK1.6), run after a bice welcome page, enter the Tutorials, learn things is a good habit to read the Tutorial first,

3. The first look at what the CDT is C/C + + Development Toolkit, bulabula... Then it says, this thing didn't include C/C + + compiler, debugger, you have to get myself,

4. Keep watching, under Windows, MinGW and Cygwin are two main ways to obtain the GNU toolchain (under the GNU toolchain, GNU series of toolkit, I understand it is primarily a GCC this a series of tools), both of which is the biggest difference between MinGW using Windows C runtime, called MSCVRT, and Cygwin using a set of based on the GPL DLLs (infectious under the GPL, the use of the software under the GPL after the things you own will follow the GPL), so the MinGW avoids the GPL,

5. MinGW and CDT well integrated, well, we install MinGW (MinGW means Minimal GNU for Windows, the download process is very slow, I half hours), the current version is MinGW - 5.1.6. Exe, I head to a Full install, discovered that, after loading Do not install the MinGW Make feature as the MSYS version of Make the from step 5 is a more complete implementation of the Make. (Do not install the MinGW Make MSYS is a better scheme of step 5)

6. In order to avoid the possible problems in the future, unloading heavy, here is the complete installation steps:
1) download the MinGW, address http://sourceforge.net/projects/mingw/files/
2) install MinGW base tool and g + + compiler (do not install the Make); I put in addition to Make the all, it has a Ada compiler


3) the current version (it refers to the MinGW - 5.1.3, but I don't have) under 5.1.6 also no GDB debugger, download it: http://downloads.sourceforge.net/mingw/gdb-6.6.tar.bz2
4) unzip the GDB 6.6. Tar..bz2 where you install MinGW, also has a series of bin, under GDB - 6.6/inclue folder, kao directly to the MinGW below can be covered in
5) if you want to use a Makefile, please download the MSYS - 1.0.10. Exe, MSYS is an implementation of the make and the command line, um, want to use, download address: http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe
Installation is a command interface, write two "y", then inform MinGW installation path,

CodePudding user response:

Very good article,

CodePudding user response:

Eclipse to write c + + is very egg pain

VS a free Community and Express editions of

CodePudding user response:

Visual Studio 2013 Community edition is a good thing,

CodePudding user response:

Eclipse before used to develop the android JAVA, feels very garbage interface layout features, basic can't preview screen, the function is a little small BUG, on the whole, in addition to the android JAVA development for the rest of the collection of alternative IDE, want to use Eclipse installation and problem can ask questions
  • Related