Installation of the GCC compiler

Source: Internet
Author: User
1.GCC Introduction

GCC (GNU Compiler Collection) is a powerful, performance-rich programming language compiler, one of the GNU program's representative works. GCC is the most commonly used compiler under the Linux platform, and GCC is formerly the GNU C Compiler, the GNU C language compiler, and its name has gradually become the GNU Compiler Collection as more languages are supported by GCC. The basic usage of GCC is described below.

2.GCC Installation

  1. First download the mingw4.8.1.7z compiler, you can go online search download, download and then extract to the C disk directory
  2. Set environment variables, right click on Computer Select Properties, then click Advanced System Settings, click Advanced to have an environment variable
  3. Add C:\MinGW4.8.1.7z\bin in Path, and remember to add a semicolon if there are other variables in it.
  4. New Library_path variable, if any, add c:mingw4.8.1.7z\lib to the value, which is the location of the standard library
  5. Create a new C_includede_path variable with a value of C:\MinGW4.8.1.7z\include
  6. Test is installed, in cmd input gcc-v, if the version information appears to indicate that the installation was successful

Installation of the GCC compiler

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.