Home > System Tutorial > LINUX > MinGW-w64 C/C++ compiler version introduction and download link

MinGW-w64 C/C++ compiler version introduction and download link

WBOY
Release: 2024-07-15 15:19:18
Original
1089 people have browsed it

MinGW-w64 C/C++编译器版本介绍及下载链接

1. Download

Official website

MinGW-w64C/C++ compiler resource direct link:

2. Product introduction

在这里插入图片描述

在这里插入图片描述

安装Linux至少需要几个区_linux安装gcc_安装Linux操作系统步骤

There are a total of five versions that can be run on windows. Let’s talk about the differences of each version separately.

1-cygwin: Equivalent to the Linux compatibility layer of WindowsLinux installs gcc, an environment that can run most Linux software (not within the scope of discussion)

2-llvm: Another famous compiler clang under Unix system and Linux system (some features are not supported under windows, but it is not a gcc red flag linux download and is not recommended)

3-w6464devkit: Development tool suite including gcc (recommended, including busybox)

4-MingW-W64-builds: gcc tool (recommended)

安装Linux至少需要几个区_linux安装gcc_安装Linux操作系统步骤

5-Similar to 1

So there are actually only two options: 3 and 4. If you want to run some basic Linux commands (such as ls, mkdirlinux environment variables, touch, vim), choose 3, and for others, choose 4. Then click on the red part to download the offline installation package.

3. Installation

Open the installed mingw (the path you just selected) folder

Click this

安装Linux至少需要几个区_linux安装gcc_安装Linux操作系统步骤

在这里插入图片描述

Copy path

在这里插入图片描述

Paste into environment variables

在这里插入图片描述

Create a new environment variable and paste the path (I pasted it here before, the last line is it)

在这里插入图片描述

Click OK (there are multiple)

Test

Enter in cmd: g++-v

安装Linux至少需要几个区_linux安装gcc_安装Linux操作系统步骤

Command to see the version number.

在这里插入图片描述

4. Problems you may encounter: The downloaded file does not have a /bin folder, for example, it looks like this

在这里插入图片描述

It means you have downloaded the source code. Linux installation gcc. This is the source code file for cross-compilation.

在这里插入图片描述

在这里插入图片描述

The above is the detailed content of MinGW-w64 C/C++ compiler version introduction and download link. For more information, please follow other related articles on the PHP Chinese website!

source:itcool.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template