MINGW/GCC installation and environment configuration in the Windows environment

Source: Internet
Author: User

MinGW, which is an abbreviation for minimalist gnufor windows. It is a free-to-use and freely published collection of Windows-specific header files and import libraries using the GNU toolset, allowing you to gnu/ Linux and Windows platforms Generate local Windows programs without the need for a third-party C runtime (c runtime) library. MinGW is a set of include files and port libraries that allow console mode programs to use Microsoft's standard C runtime (c runtime) library (MSVCRT.DLL), which is valid on all NT OS;

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 variable – add C:\MinGW\bin to path– add C:\MinGW\include to include– add C:\MinGW\lib to lib     open cmd at the command prompt to enter GCC–V, see GCC version information, gcc installation OK open cmd at the command prompt to enter GDB–V, see GDB version information, GDB installation OK Open cmd enter make–v at the command prompt, see make version information, make install OK  

MINGW/GCC Installation and Environment configuration under Windows environment

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.