Installing GCC under Windows

Source: Internet
Author: User

2333 just remembered today to build a set of GCC, GDB, make work environment on Windows.

Check it out online. There are three main GCC porting versions that are popular under Windows. They are Mingw,cygwin and DJGPP.

In general, MinGW, Cygwin and DJGPP each have their own characteristics, for different applications, you can choose different transplant version to meet the needs. MinGW This series of porting, the main direction is to let GCC's Windows transplant version can use WIN32API to program. The goal of Cygwin is to allow the program code under Unix-like to be compiled directly under Windows. As for DJGPP, you want to make it possible for DOS to use GCC as well.

MinGW is installed on my computer.

Installed MinGW Online Some said is their own last (http://www.mingw.org/download.shtml) a few compressed package and then install their own configuration, after all, small white still dare to mess, so directly in the http://sourceforge.net/ projects/mingw/files/mingw/Downloaded a setup program

Then choose the installation yourself.

Finally, you have to configure the environment variables (depending on your installation directory):

– Add D:\MinGW\bin to path– D:\MinGW\include join include– will D:\MinGW\lib join Lib success!

Installing GCC under Windows

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.