Build the eclipse CDT environment in win64

Source: Internet
Author: User
Tags windows x64

Configuration environment: win7 64

Step 1 install JDK or JRE

Objective: To provide a basic environment for eclipse running in Windows

Link: Official Website http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html

I selected 64-bit Latest Version 7u2: Windows x64 87.35 MB jdk-7u2-windows-x64.exe

Step: Step by step. No special manual settings are required.

Note: unlike other tutorials on the internet, I have not manually set any environment variables related to Java here, So eclipse can be used normally.

Step 2 install mingw

Objective: To provide a required environment for compiling and debugging C/C ++ code in eclipse in Windows

Link: there are two options

1. mingw official website http://sourceforge.net/projects/mingw/files/

On the webpage, you can select: Looking for the latest version? Download
Mingw-get-inst-20111118.exe (591.9 KB)

This link requires online file download and online installation. After installation, make sure that the installation is complete. Otherwise, problems may occur. You do not need to connect to the Internet.

2. TDM-GCC http://tdm-gcc.tdragon.net/
Select Download
TDM-GCC, choose

Tdm-gcc-4.6.1 EXE 21.9
MB mingw/sjlj (Note: 32 bits are selected here, and 64 bits are not set successfully)

Step: For the first link, open the installation file and step by step. Select C ++ compiler. Network disconnection is not allowed during installation.

Download TDM-GCC, open the installation file directly, and then click Next by default. Select a server connection point in the middle and one of Asia.

Step 3 set the environment variable and modify the file name

Objective: To enable eclipse to use mingw (TDM-GCC installation will be automatically added in theory, but please manually ensure this step)

Operation: 1. Open Control Panel \ system and security \ System \ Advanced System settings \ environment variable \ new

Name: PATH value: C: \ mingw32 \ bin (here is the default path of TDM-GCC. If there is a change in step 3, change it here)

2. Open c: \ mingw32 \ bin and find mingw32-make.exe. Copy a copy of mingw32-make.exe in the bindirectory,

3. Rename the copied sub-text to make.exe (makesecret is used to identify mingw32-make.exe, so you need to copy and rename it .)

Step 4 download and decompress eclipse

Link: http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers-includes-incubating-components/indigosr1
Select windows
64-bit download

Step: extract the package to a specific location and you can use it to compile it.

 

Related configuration Materials

Install eclipse CDT on Windows 7

Http://www.banym.de/eclipse/install-eclipse-cdt-on-windows-7

Configure eclipse in win7
CDT (Complaints)

Http://renkai.org/2011/03/%E5%9C%A8win7%E4%B8%8B%E9%85%8D%E7%BD%AEeclipse-cdt%E7%89%A2%E9%AA%9A%E6%9C%89%E7%82%B9%E5%A4%9A/

Windows 7x64 configure eclipse + mingw notes

Http://www.librehat.com/article/win7_x64_install_eclipse_mingw/

Note: The description in the Document section is different from what I have mentioned. The readers choose their own documents.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.