Install mingw in Windows 7

Source: Internet
Author: User

Old mingw versions:

Ftp://ftp.ntua.gr/mirror/mingw/OldFiles

Mingw installation:

Today, I found some documents on the Internet to install a mingw in windows, because the GCC and G ++ compilers need to be called for the course design, so I am ready to install it, I personally refer to some steps in the installation process of netizens (take notes)






Configure environment variables:

Right-click my computer and choose Properties> advanced> environment variable. Then:

1. Add D: \ mingw \ bin to the path. Remember to add a semicolon if there are other variables in it. The semicolon must be entered in the English input mode.

2. Create a New LIBRARY_PATH variable. If yes, add D: \ mingw \ Lib to the value, which is the location of the standard library.

3. Create the c_include_path variable and set it to D: \ mingw \ include.

4. Create a cplus_include_path variable with the value D: \ mingw \ include \ c ++ \ 3.4.5; D: \ mingw \ include \ c ++ \ 3.4.5; D: \ mingw \ include \ c ++ \ 3.4.5 \ backward; D: \ mingw \ include.

Now, the environment variable has been configured. Open the GCC-V command in cmd to see what the output is.






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.