Installing GCC in a Windows environment

Source: Internet
Author: User

Windows has a good interface and rich tools, so the current Linux development process is that Windows does the coding work, and Linux implements the compilation work. In order to improve work efficiency, it is necessary to build a set of Gcc,gdb,make environment in Windows environment. MinGW is the version of GCC under Windows.  http://sourceforge.net/projects/mingw/files/MinGW/Enter the URL and click Download mingw-get-setup.exe install package. Mingw-installation-manager Run the interface as follows:   Select the Gcc,gdb,make related package in the Mingw-installation-manager. To use MinGW Normally, you also need to set environment variables. Desktop-"Right-click My Computer-" properties-"advanced-" Environment variables – add C:\MinGW\bin to path– add C:\MinGW\include to include– add C:\MinGW\lib join Lib open cmd at command prompt Enter Gcc–v, see GCC version information, gcc install OK open cmd at command prompt input gdb–v, see GDB version information, gdb install OK open cmd at command prompt input make–v, See make release information, make install OK

Installing GCC in a Windows environment

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.