Mingw скачать для windows 10 64 bit с официального сайта

GCC for Windows 64 & 32 bits

The heart of the Mingw-w64 project is headers and support libraries to
run the output of GCC on Windows. Since Mingw-w64 is neither the home of
GCC nor of binutils, several sets of installation packages which combine
them are available.

In addition, the sources are available but most people will want to grab
binaries directly..

Version Host GCC / Mingw-w64 Version Languages Additional Software in Package Manager
Arch Linux logo
Arch
Linux
Arch Linux 12.2.0/10.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ many
Cygwin logo
Cygwin
Rolling Windows 11.3.0/10.0.0 C, C++, Fortran, Obj-C many
Debian logo

Debian
Debian 9 (Stretch) 6.3.0/5.0.1 Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml 9 (gdb, libassuan, libgcrypt, libgpg-error, libksba, libnpth, nsis, win-iconv, zlib)
Debian 10 (Buster) 8.3.0/6.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++
Debian 11 (Bullseye) 10.2.1/8.0.0
Fedora Linux logo
Fedora
Fedora 36 11.2.1/9.0.0 Ada, C, C++, Fortran, Obj-C, Obj-C++ many
Fedora 37 12.2.1/10.0.0
LLVM-MinGW 20220906 Windows, Linux LLVM 15.0.0/trunk C, C++ make, Python
w64devkit 1.17.0 Windows 12.2.0/10.0.0 C, C++, Fortran 7
(busybox,
cppcheck,
ctags,
gdb,
make,
nasm,
vim)
MacPorts logo
MacPorts
Rolling macOS 12.2.0/10.0.0 C, C++, Fortran, Obj-C, Obj-C++ 1 (nsis)
MingW-W64-builds Rolling Windows 12.2.0/10.0.0 C, C++, Fortran 4 (gdb, libiconf, python, zlib)
MSYS2 logo
MSYS2
Rolling Windows 12.2.0/trunk Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml many
WinLibs.com Rolling Windows 12.2.0 Ada, C, C++, Fortran, Obj-C, Obj-C++, Assembler Package manager: work in progress (will offer > 2500 packages)
Ubuntu logo
Ubuntu
18.04 Bionic Beaver 7.3.0/5.0.3 Ada, C, C++, Fortran, Obj-C, Obj-C++ 9 (gdb, libassuan, libgcrypt, libgpg-error, libksba, libnpth, nsis, win-iconv, zlib)
20.04 Focal Fossa 9.3.0/7.0.0
22.04 Jammy Jellyfish 10.3.0/8.0.0
22.10 Kinetic Kudu 10.3.0/10.0.0

Arch Linux

Installation:

  • Community repository (toolchain)
  • AUR repository (additional packages)

Ubuntu

Installation: through integrated package manager.

Mingw-w64 packages on Ubuntu

Cygwin

Cygwin is a Unix-like environment and command-line
interface for Microsoft Windows. Its core is the cygwin1.dll library which
provides POSIX functionality on top of the Win32 API. It can be used as a build
environment which targets Windows directly and for which output doesn’t depend
on cygwin1.dll.

Installation is done through cygwin’s package manager:
setup.exe.

As part of the numerous packages in cygwin, there are cross-compilation
toolchains which target both 32 bits and 64 bits; their names start with
“mingw64-”.

Once they are installed, they should be used according to the general
cross-compilation approach.

Debian

Installation: through integrated package manager.

Mingw-w64 packages on Debian

Fedora

Installation: through integrated package manager.

LLVM-MinGW

LLVM-MinGW is a toolchain built with Clang, LLD, libc++, targeting
i686, x86_64, arm and aarch64 (ARM64), with releases both for running
as a cross compiler from Linux and for running on Windows. It supports
Address Sanitizer, Undefined Behaviour Sanitizer, and generating debug
info in PDB format.

Installation: GitHub

w64devkit

w64devkit is a portable C and C++ development kit for x64 (and x86) Windows.

Included tools:

  • Mingw-w64 GCC : compilers, linker, assembler
  • GDB : debugger
  • GNU Make : standard build tool
  • busybox-w32 : standard unix utilities, including sh
  • Vim : powerful text editor
  • Universal Ctags : source navigation
  • NASM : x86 assembler
  • Cppcheck : static code analysis

The toolchain includes pthreads, C++11 threads, and OpenMP. All included
runtime components are static.

Installation: GitHub

MacPorts

To install just the 32-bit or just 64-bit compiler with dependencies, use:

sudo port install i686-w64-mingw32-gcc
sudo port install x86_64-w64-mingw32-gcc

A shortcut to install both:

sudo port install mingw-w64

Here is the list of Mingw-w64 packages on MacPorts.

Mingw-builds

Installation: GitHub

WinLibs.com

Standalone MinGW-w64+GCC builds for Windows, built from scratch (including all depencencies) natively on Windows for Windows.

Downloads are archive files (.zip or .7z). No installation is required,
just extract the archive and start using the programs in mingw32bin or mingw64bin.
This allows for a relocatable compiler suite and allows having multiple versions on the same system.

Also contains other tools including:
* GDB — the GNU Project debugger
* GNU Binutils — a collection of binary tools
* GNU Make — a tool which controls the generation of executables and other non-source files
* Yasm — The Yasm Modular Assembler Project
* NASM — The Netwide Assembler
* JWasm — A free MASM-compatible assembler

Flavors:
* separate packages for 32-bit (i686) and 64-bit (x86_64) Windows
* separate packages for MSVCRT and UCRT builds
* only POSIX threads builds (which also include Win32 API thread functions)
* exception model: Dwarf for 32-bit (i686) and SEH for 64-bit (x86_64)

Installation: Download from winlibs.com and extract archive (no installation needed).

MSYS2

Installation: GitHub

Sources

Tarballs for the mingw-w64 sources are hosted on
SourceForge.

The latest version from the 10.x series is 10.0.0.

The latest version from the 9.x series is 9.0.0.

The latest version from the 8.x series is 8.0.2.

The latest version from the 7.x series is 7.0.0.

The latest version from the 6.x series is 6.0.0.

The latest version from the 5.x series is 5.0.4.

The old wiki has instructions for building
native
and
cross
toolchains.

Details on how to get the mingw-w64 code from Git and an Git-web viewer are
available on
SourceForge.

Unsorted complementary list

Darwin/Mac OS X

The existing Darwin binaries have been built through buildbot in 2013 and links
to them can be found on the dedicated
page.

OpenSUSE

The OpenSUSE Linux
distribution also has a
large and well-maintained set of packages for cross-compilation.

Rubenvb

Rubenvb has built a number of toolchains including some for less common setups.
They are split into two categories: toolchains targeting
Win32
or
Win64.

GCC with the MCF thread model

GCC with the MCF thread model is a series of x86
and x64 native toolchains built by LH_Mouse. The MCF thread model involves the
mcfgthread library to provide minimum
yet complete C++11 thread support. Disregarding POSIX or Windows XP
compatibility, it implements (hopefully the most) efficient mutexes and
condition variables that are competitive with even native slim reader/write
(SRW) locks and condition variables since Windows Vista.

Store of binaries on SourceForge

A very large number of other binaries and sources are hosted in the File
Release System on Sourceforge which
might have what you are after.

mingw-w64

MinGW-W64 GCC-8.1.0 Mirror

Official Website: MinGW-W64

Installation Instructions

  1. Determine the MingGW architecture:
  • Version: 8.1.0
  • Architecture: i686 or x86_64
    • i686: is the 32-bit version
    • x86_64: is the 64-bit version of the OS (Recommended)
  • Threads: posix or win32
    • posix: Enable C++11/C11 multithreading features. (Recommended)
      • Note: Makes libgcc depend on libwinpthreads, so that even if you don’t directly call pthreads API, you’ll be distributing the winpthreads DLL. There’s nothing wrong with distributing one more DLL with your application.
    • win32: No C++11 multithreading features.
  • Exception: dwarf or sjlj
    • seh: Available for 64-bit GCC 4.8 (x86_64) (Recommended)
      • Performance: Zero overhead exception
    • dwarf: Available for 32 bit only (i686).
      • Performance: No permanent runtime overhead.
    • sjlj: Available for 32 bit and 64 bit.
      • Performance: ~15% in exception heavy code
  • Build revision: 0

Recommended for Windows 10 x64:

  • Version = 8.1.0
  • Architecture = x86_64 (x64 OS)
  • Threads = posix (Allow threading)
  • Exception = seh (Zero overhead exception)
  • Build revision = 0
  1. Download the appropriate 7-zip (*.7z) file to your local machine:
  • ARCHITECTURE-VERSION-THREAD-EXCEPTION-*.7z

Recommended for Windows 10 x64:

  • x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
  1. Unzip the 7-Zip file to C:mingw-w64mingw64

  2. Add C:mingw-w64mingw64bin to PATH

Batch File:

echo off
set PATH=C:mingw-w64mingw64bin;%PATH%
rem echo %PATH%
rem cd "C:mingw-w64mingw64bin"
cd "C:"
"C:WINDOWSsystem32cmd.exe"
  1. Open a new cmd.exe and verify the GCC compiler is setup.

Background

The mingw-w64-install.exe online installer is a minimal application that downloads the correct MingGW architecture version from SourceForge using a file lookup repository.txt here:

Home / Toolchains targetting Win32 / Personal Builds / mingw-builds / installer / repository.txt

mingw-w64-install.exe

Formatted as:

8.1.0|x86_64|posix|sjlj |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/sjlj/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0.7z
8.1.0|i686  |posix|sjlj |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/sjlj/i686-8.1.0-release-posix-sjlj-rt_v6-rev0.7z
8.1.0|i686  |posix|dwarf|rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z
8.1.0|x86_64|posix|seh  |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
8.1.0|i686  |win32|sjlj |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-win32/sjlj/i686-8.1.0-release-win32-sjlj-rt_v6-rev0.7z
8.1.0|x86_64|win32|sjlj |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/sjlj/x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0.7z
8.1.0|x86_64|win32|seh  |rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z
8.1.0|i686  |win32|dwarf|rev0 |http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-win32/dwarf/i686-8.1.0-release-win32-dwarf-rt_v6-rev0.7z

The installer downloads the appropriate 7-Zip MinGW file and extracts the content to C:wingw-w64 or C:Program Files (x86)mingw-w64. The mingw64bin is then registered with PATH environment.

Project Description

This is the official download site for the latest packages originating from the MinGW.OSDN Project, (formerly the MinGW.org Project; however, that domain is no longer associated with this project).

MinGW is a native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. Although (currently) offering only a 32-bit compiler suite, all of MinGW’s software will execute on the 64bit Windows platforms.

MinGW is a registered trademark of Software in the Public Interest Inc., registration number 86017856; this trademark has been registered on behalf of the MinGW.OSDN Project, and its use by any other project is unauthorized.

Download

  • Latest Release

    • MinGW.OSDN Windows System Libraries (WSL) Windows API (32-bit), Version 5.4.2 (Date: 2021-04-12)
    • MinGW.OSDN Windows System Libraries (WSL) C-Runtime Library (32-bit), Version 5.4.2 (Date: 2021-04-12)
    • MinGW.OSDN Windows System Libraries (WSL) C-Runtime Library (32-bit DLL), Version 5.4.2 (Date: 2021-04-12)
    • MinGW.OSDN Compiler Collection (GCC) GCC-9.2.0 Licence (Date: 2021-02-02)
    • MinGW.OSDN Compiler Collection (GCC) GCC-9.2.0 Source Code (includes MinGW.org patches) (Date: 2021-02-02)

Review

Your rating

Review this project

2023-02-04 13:28

Review by i hate C

Rating:

(0 of 0 people found this review helpful)

2023-02-02 13:01

Review by Kim

Rating:

(0 of 1 people found this review helpful)

2022-12-07 14:04

Review by friend

Rating:

(12 of 23 people found this review helpful)

Review List

Recent Activities

2022-12-31

23:16

MinGW — Minimalist GNU for Windows

2022-12-03

07:04

MinGW — Minimalist GNU for Windows

06:40

MinGW — Minimalist GNU for Windows

[Git] New repository ‘mingw-pkgspecs’ has been created

2022-11-10

06:51

MinGW — Minimalist GNU for Windows

2022-11-05

06:49

MinGW — Minimalist GNU for Windows

[Git] The configurations for repository ‘mingw-org-wsl’ have been updated

Show history

My MinGW distribution («distro») is x64-native and currently contains GCC 11.2.0 and Boost 1.77.0.

mingw-18.0.exe (96.9 MB) : This is a self-extracting archive. It’s incredibly easy to install; see How To Install below.

My build scripts are available on GitHub, and they’re also stored within the distro itself.

* With jpegtran.

** With pcregrep and pcre2grep.

*** Only sort, uniq, and wc.

I recommend that anyone who is learning Standard C++ and who uses Windows for a primary development environment should use two compilers: the most modern version of Microsoft Visual C++ and the most modern version of GCC, the GNU Compiler Collection. Using two compilers that conform closely to the Standard subjects your code to more strenuous trials than using a single compiler would.

MinGW is a port of GCC to Windows. It is free of charge and simple to use (well, as simple as toolchains ever get). It produces standalone Windows executables which may be distributed in any manner. MinGW’s official website mingw-w64.org provides various builds, but I maintain my own distro because I demand complete control. (It’s a long story, but mingw-w64 forked from mingw.org. Although my distro was based on mingw.org for many years, I now consider mingw-w64 to be the one true MinGW.)

Please note that I did not write any of the components of my distro. I simply compiled them and packaged them together.

First, run the self-extracting archive. It’ll ask you for a directory:

Whatever you say, it’ll create a MinGW subdirectory there. I recommend saying C: (as in the screenshot) so it’ll create C:MinGW .

Second, click Extract. It’ll display a progress bar:

Just wait until it’s done. I’ve gone to great lengths to make the distro as small as possible, but Boost and git are very large, so there’s a lot of stuff to extract.

Third, open the root of the distro, which is C:MinGW if you followed my recommendation. There, you’ll find two batch files and README_STL.txt . Inside the readme, there are copies of this webpage’s Contents and History sections in case you forget which version of the distro you have or what it contains. There are also the following usage instructions:

Finally, type g++ --version in your Command Prompt and hit Enter. You should see something like this:

If you see something like that, then you have successfully installed MinGW.

Simply replace C:MinGW .

I shouldn’t need to warn you about extracting a newer version of the distro into a directory which already contains an older version. That would create a mess.

Simply delete C:MinGW .

components-18.0.7z (96.4 MB) : My distro is formed by extracting these binary components into a single directory, then adding the batch files and readme. These binary components are useful if you want to create a subset of my distro, or if you want to update a few components without having to rebuild everything.

Building the components from scratch requires a few things. First, you’ll need their sources, which you can obtain from their official websites. Second, you’ll need my build scripts and patches, which are in the scripts-VERSION subdirectory in the root of the distro. Finally, the build scripts must be run in MSYS2, and README.md in scripts-VERSION explains how to set that up.

Distro Date GCC Boost Changes 18.0 10/30/2021 11.2.0 1.77.0 Added: gh 2.2.0. Updated: binutils 2.37, Boost 1.77.0, coreutils 9.0, FreeType 2.11.0, GCC 11.2.0, gdb 11.1, git 2.33.1, GLFW 3.3.5, GLM 0.9.9.8, grep 3.7, libjpeg-turbo 2.1.1, libogg 1.3.5, libvorbis 1.3.7, make 4.3, mingw-w64 9.0.0, PCRE 8.45, PCRE2 10.37, pngcheck 3.0.3, SDL 2.0.16, sed 4.8, vorbis-tools 1.4.2, zstd 1.5.0. 17.1 12/11/2019 9.2.0 1.71.0 Updated: git 2.24.1.2. 17.0 11/27/2019 9.2.0 1.71.0 Added: GLFW 3.3. Updated: 7-Zip 19.00, binutils 2.33.1, Boost 1.71.0, coreutils 8.31, FreeType 2.10.1, GCC 9.2.0, gdb 8.3.1, git 2.24.0.2, glbinding 3.1.0, GLM 0.9.9.6, libjpeg-turbo 2.0.3, libogg 1.3.4, libpng 1.6.37, mingw-w64 7.0.0, PCRE 8.43, PCRE2 10.34, SDL 2.0.10, zstd 1.4.4. 16.1 12/30/2018 8.2.0 1.69.0 Added: OptiPNG 0.7.7, zstd 1.3.8. Removed: libbzip2, pngcrush. Updated: binutils 2.31.1, Boost 1.69.0, coreutils 8.30, GCC 8.2.0, gdb 8.2.1, git 2.20.1, glbinding 3.0.2, GLM 0.9.9.3, grep 3.3, libjpeg-turbo 2.0.1, libpng 1.6.36, mingw-w64 6.0.0, PCRE2 10.32, SDL 2.0.9, SDL_mixer 2.0.4, sed 4.7. 16.0 7/4/2018 8.1.0 1.67.0 Updated: 7-Zip 18.05, binutils 2.30, Boost 1.67.0, FreeType 2.9.1, GCC 8.1.0, git 2.18.0, GLM 0.9.9.0, libvorbis 1.3.6, mingw-w64 5.0.4, PCRE 8.42, SDL 2.0.8, sed 4.5. 15.4 2/27/2018 7.3.0 1.66.0 Updated: 7-Zip 18.01, Boost 1.66.0, coreutils 8.29, FreeType 2.9, GCC 7.3.0, gdb 8.1, git 2.16.2, glbinding 2.1.4, LAME 3.100, libjpeg-turbo 1.5.3, libogg 1.3.3, libpng 1.6.34, mingw-w64 5.0.3, PCRE2 10.31, SDL 2.0.7, SDL_mixer 2.0.2. 15.3 10/7/2017 7.2.0 1.65.1 Updated: git 2.14.2.2. 15.2 10/3/2017 7.2.0 1.65.1 Added winpthreads and OpenMP to GCC. Updated: binutils 2.29.1, Boost 1.65.1, coreutils 8.28, FreeType 2.8.1, gdb 8.0.1, git 2.14.2, libpng 1.6.32, pngcrush 1.8.13, SDL 2.0.6. 15.1 8/27/2017 7.2.0 1.65.0 Added: PCRE2 10.30. Updated: binutils 2.29, Boost 1.65.0, GCC 7.2.0, git 2.14.1, GLM 0.9.8.5, grep 3.1, libjpeg-turbo 1.5.2, libpng 1.6.30, PCRE 8.41, pngcrush 1.8.12. 15.0 6/5/2017 7.1.0 1.64.0 Updated: binutils 2.28, Boost 1.64.0, coreutils 8.27, FreeType 2.8, GCC 7.1.0, gdb 8.0, git 2.13.0, glbinding 2.1.3, GLM 0.9.8.4, libpng 1.6.29, mingw-w64 5.0.2, PCRE 8.40, pngcrush 1.8.11, sed 4.4, zlib 1.2.11. 14.1 12/28/2016 6.3.0 1.63.0 Updated: 7-Zip 16.04, binutils 2.27, Boost 1.63.0, coreutils 8.26, FreeType 2.7, GCC 6.3.0, gdb 7.12, git 2.11.0, glbinding 2.1.1, GLM 0.9.8.3, libjpeg-turbo 1.5.1, libpng 1.6.26, make 4.2.1, mingw-w64 5.0.0, PCRE 8.39, pngcrush 1.8.10, SDL 2.0.5. 14.0 5/29/2016 6.1.0 1.61.0 Added: glbinding 2.0.0. Removed: GLEW. Updated: 7-Zip 16.02, Boost 1.61.0, GCC 6.1.0, git 2.8.3, GLM 0.9.7.5, make 4.2. 13.5 4/14/2016 5.3.0 1.60.0 Updated: 7-Zip 15.14, binutils 2.26, coreutils 8.25, FreeType 2.6.3, gdb 7.11, git 2.8.1, GLM 0.9.7.4, libpng 1.6.21, mingw-w64 4.0.6, PCRE 8.38, pngcrush 1.8.1, SDL 2.0.4, SDL_mixer 2.0.1. Rebuilt: Everything. 13.4 12/23/2015 5.3.0 1.60.0 Removed: FCIV (use «7z h -scrcsha1» or «7z h -scrcsha256»). Updated: 7-Zip 15.12, Boost 1.60.0, FreeType 2.6.2, GCC 5.3.0, gdb 7.10.1, git 2.6.4, libpng 1.6.20, pngcrush 1.7.88. Rebuilt: Everything. 13.3 11/7/2015 5.2.0 1.59.0 Updated: git 2.6.2, pngcrush 1.7.87. 13.2 10/10/2015 5.2.0 1.59.0 Updated: FreeType 2.6.1, git 2.6.1. Rebuilt: Everything, with MSYS2. 13.1 9/28/2015 5.2.0 1.59.0 Updated: binutils 2.25.1, Boost 1.59.0, coreutils 8.24, FreeType 2.6, GCC 5.2.0, gdb 7.10, git 2.5.3, GLEW 1.13.0, GLM 0.9.7.1, libjpeg-turbo 1.4.2, libpng 1.6.18, mingw-w64 4.0.4, PCRE 8.37, pngcrush 1.7.86. Rebuilt: Everything. 13.0 4/30/2015 5.1.0 1.58.0 Added: FCIV 2.05. Removed: sha1sum, sha256sum, sha512sum. Updated: Boost 1.58.0, GCC 5.1.0, gdb 7.9, git 1.9.5 20150319, GLEW 1.12.0, GLM 0.9.6.3, libjpeg-turbo 1.4.0, libpng 1.6.17, libvorbis 1.3.5, mingw-w64 4.0.2, pngcrush 1.7.85. Rebuilt: Everything. 12.2 1/4/2015 4.9.2 1.57.0 Updated: binutils 2.25, Boost 1.57.0, FreeType 2.5.5, GCC 4.9.2, gdb 7.8.1, git 1.9.5 20141217, GLM 0.9.6.1, libpng 1.6.16, make 4.1, mingw-w64 3.3.0, PCRE 8.36, pngcrush 1.7.82. Rebuilt: Everything. 12.1 9/2/2014 4.9.1 1.56.0 Updated: git 1.9.4 20140815, GLEW 1.11.0, libpng 1.6.13, mingw-w64 3.2.0, pngcrush 1.7.77. Enabled Unicode in PCRE. Rebuilt: Everything. 12.0 8/9/2014 4.9.1 1.56.0 Restored GCC’s default mode to C++03. (Compile with -std=c++11 for C++11, or -std=c++1y for C++14.) Removed: wget. Updated: Boost 1.56.0, coreutils 8.23, FreeType 2.5.3, GCC 4.9.1, gdb 7.8, git 1.9.4 20140611, GLM 0.9.5.4, libjpeg-turbo 1.3.1, libogg 1.3.2, libpng 1.6.12, libvorbis 1.3.4, PCRE 8.35, pngcrush 1.7.76, SDL 2.0.3. Rebuilt: Everything. 11.6 1/19/2014 4.8.2 1.55.0 Added: gdb 7.6.2. Patched: PCRE 8.34 (adding pcregrep). 11.5 1/12/2014 4.8.2 1.55.0 Updated: binutils 2.24, coreutils 8.22, FreeType 2.5.2, git 1.8.5.2 20131230, GLM 0.9.5.1, libpng 1.6.8, make 4.0 a4937bc, mingw-w64 3.1.0, PCRE 8.34, pngcrush 1.7.70. Rebuilt: Everything. 11.4 11/25/2013 4.8.2 1.55.0 Updated: FreeType 2.5.1. Patched: make 4.0. 11.3 11/17/2013 4.8.2 1.55.0 Updated: Boost 1.55.0, GCC 4.8.2, git 1.8.4 20130916, GLM 0.9.4.6, libpng 1.6.7, make 4.0, mingw-w64 3.0.0, pngcrush 1.7.69, SDL 2.0.1. Rebuilt: Everything. 11.2 9/8/2013 4.8.1 1.54.0 Patched: GLEW 1.10.0. 11.1 8/13/2013 4.8.1 1.54.0 Removed: diffutils (use «git diff»), patch (use «git apply»). Updated: GLM 0.9.4.5, pngcrush 1.7.67, SDL 2.0.0, SDL_mixer 2.0.0. 11.0 8/10/2013 4.8.1 1.54.0 The distro is now x64-native. Added: mingw-w64 3.0-5986. Removed: mingw-runtime, w32api. Rebuilt: EVERYTHING. 10.4 8/1/2013 4.8.1 1.54.0 Removed: x86 «7za» (use x64 «7z»), pngrewrite. Updated: GLEW 1.10.0. Patched: SDL 2.0.0-7469. Rebuilt: binutils 2.23.2, FreeType 2.5.0.1, everything. 10.3 7/19/2013 4.8.1 1.54.0 Added: GLM 0.9.4.4. Updated: Boost 1.54.0, FreeType 2.5.0.1, libpng 1.6.3, pngcrush 1.7.66, SDL 2.0.0-7469, SDL_mixer 2.0.0-650. 10.2 6/9/2013 4.8.1 1.53.0 Updated: FreeType 2.4.12, GCC 4.8.1, git 1.8.3 20130601, libjpeg-turbo 1.3.0, libogg 1.3.1, PCRE 8.33, pngcrush 1.7.60. Rebuilt: Everything. 10.1 5/10/2013 4.8.0 1.53.0 Added: libjpeg-turbo 1.2.90. Removed: libjpeg. Updated: libpng 1.6.2, pngcrush 1.7.58, zlib 1.2.8. Rebuilt: Boost 1.53.0, pngcheck 2.3.0, pngrewrite 1.4.0, SDL 1.2.15. 10.0 4/1/2013 4.8.0 1.53.0 Updated: binutils 2.23.2, coreutils 8.21, diffutils 3.3, GCC 4.8.0, libpng 1.6.1, pngcrush 1.7.54. Rebuilt: Everything. 9.6 2/9/2013 4.7.2 1.53.0 Updated: Boost 1.53.0, git 1.8.1.2 20130201, jpegtran 9, libjpeg 9, libpng 1.5.14, pngcrush 1.7.47, sed 4.2.2. Rebuilt: pngcheck 2.3.0, pngrewrite 1.4.0. 9.5 12/9/2012 4.7.2 1.52.0 Updated: binutils 2.23.1, Boost 1.52.0, coreutils 8.20, git 1.8.0 20121022, libpng 1.5.13, PCRE 8.32, pngcrush 1.7.41. Rebuilt: Everything. 9.4 9/29/2012 4.7.2 1.51.0 Updated: GCC 4.7.2. Rebuilt: Everything. 9.3 9/13/2012 4.7.1 1.51.0 Updated: Boost 1.51.0, coreutils 8.19, git 1.7.11 20120710, GLEW 1.9.0, libpng 1.5.12, mingw-runtime 3.20-2, PCRE 8.31, pngcrush 1.7.37, wget 1.14. Rebuilt: Everything. 9.2 7/5/2012 4.7.1 1.50.0 Updated: Boost 1.50.0, git 1.7.11 (20120704), pngcrush 1.7.31. 9.1 6/21/2012 4.7.1 1.49.0 Updated: coreutils 8.17, FreeType 2.4.10, GCC 4.7.1, git 1.7.11, libpng 1.5.11, libvorbis 1.3.3, pngcrush 1.7.30, zlib 1.2.7. Rebuilt: Everything. 9.0 3/29/2012 4.7.0 1.49.0 Updated: GCC 4.7.0. Rebuilt: Everything. 8.0 3/21/2012 4.6.3 1.49.0 Changed GCC’s default mode to C++11. Added set_distro_paths.bat and open_distro_window.bat. Added: git 1.7.9. Updated: binutils 2.22, Boost 1.49.0, coreutils 8.15, diffutils 3.2, FreeType 2.4.9, GCC 4.6.3, GLEW 1.7.0, grep 2.10, jpegtran 8d, LAME 3.99.5, libjpeg 8d, libpng 1.5.9, mingw-runtime 3.20, PCRE 8.30, pngcrush 1.7.25, SDL 1.2.15, SDL_mixer 1.2.12, wget 1.13.4, zlib 1.2.6. Rebuilt: Everything. 7.2 8/19/2011 4.6.1 1.47.0 Added: PCRE 8.12. Updated: binutils 2.21.1, Boost 1.47.0, coreutils 8.12, diffutils 3.1, FreeType 2.4.6, GCC 4.6.1, GLEW 1.6.0, grep 2.9, libogg 1.3.0, libpng 1.5.4, pngcrush 1.7.16. Rebuilt: Everything. 7.1 4/13/2011 4.6.0 1.46.1 Patched: grep 2.7 (with PCRE 8.12). 7.0 4/10/2011 4.6.0 1.46.1 Patched: mingw-runtime 3.18. Updated: GCC 4.6.0, libpng 1.5.2. Rebuilt: Everything. 6.12 4/1/2011 4.5.2 1.46.1 Updated: pngcrush 1.7.15, w32api 3.17-2. Rebuilt: Everything. 6.11 3/13/2011 4.5.2 1.46.1 Updated: Boost 1.46.1. 6.10 3/3/2011 4.5.2 1.46.0 Updated: Boost 1.46.0, coreutils 8.10, GLEW 1.5.8, jpegtran 8c, libjpeg 8c, libpng 1.5.1, pngcrush 1.7.14. Rebuilt: pngcheck 2.3.0, pngrewrite 1.4.0. 6.9 12/31/2010 4.5.2 1.45.0 Updated: binutils 2.21, coreutils 8.8, FreeType 2.4.4, GCC 4.5.2, libogg 1.2.2, libpng 1.4.5, pngcrush 1.7.13. Rebuilt: Everything. 6.8 11/20/2010 4.5.1 1.45.0 Updated: 7-Zip 9.20, Boost 1.45.0. Rebuilt: SDL 1.2.14. 6.7 11/16/2010 4.5.1 1.44.0 Patched: Boost 1.44.0 (fixing Boost.Thread), GCC 4.5.1 (fixing LTO). Updated: coreutils 8.7, FreeType 2.4.3, GLEW 1.5.7, grep 2.7, libbzip2 1.0.6, libogg 1.2.1, libpng 1.4.4, libvorbis 1.3.2, w32api 3.15. Rebuilt: Everything. 6.6 8/22/2010 4.5.1 1.44.0 Rebuilt: GCC 4.5.1. 6.5 8/18/2010 4.5.1 1.44.0 Updated: Boost 1.44.0, FreeType 2.4.2, GCC 4.5.1, make 3.82, pngcrush 1.7.12. Rebuilt: Everything. 6.4 7/17/2010 4.5.0 1.43.0 Updated: FreeType 2.4.0, GLEW 1.5.5. 6.3 7/9/2010 4.5.0 1.43.0 Updated: jpegtran 8b, libjpeg 8b. Rebuilt: FreeType 2.3.12. 6.2 7/7/2010 4.5.0 1.43.0 Updated: coreutils 8.5, grep 2.6.3, libpng 1.4.3, pngcrush 1.7.11, pngrewrite 1.4.0. Rebuilt: Everything. 6.1 5/5/2010 4.5.0 1.43.0 Removed: GLee, UPX. Updated: Boost 1.43.0, diffutils 3.0, GLEW 1.5.4, zlib 1.2.5. Rebuilt: libpng 1.4.1, pngcheck 2.3.0, pngcrush 1.7.10, pngrewrite 1.3.0. 6.0 4/16/2010 4.5.0 1.42.0 Added: GLEW 1.5.3. Patched: diffutils 2.9. Updated: GCC 4.5.0. Rebuilt: Everything. 5.5 4/2/2010 4.4.1 1.42.0 Patched: coreutils 8.4. Updated: LAME 3.98.4, libogg 1.2.0, libvorbis 1.3.1, vorbis-tools 1.4.0. 5.4 3/21/2010 4.4.1 1.42.0 Removed: bzip2. (Use «7za x» instead of «bunzip2».) Updated: coreutils 8.4, diffutils 2.9. 5.3 3/19/2010 4.4.1 1.42.0 Added: LAME 3.98.3. Updated: pngcrush 1.7.10, zlib 1.2.4. Rebuilt: Everything, fixing a psychotic relocation bug. 5.2 3/13/2010 4.4.1 1.42.0 Removed: tar. (Use «7za a», «7za l», and «7za x» instead of «tar cf», «tar tf», and «tar xf».) Updated: binutils 2.20.1, jpegtran 8a, libjpeg 8a, mingw-runtime 3.18. Rebuilt: Everything. 5.1 3/2/2010 4.4.1 1.42.0 Added: 7-Zip x64. («7za» is x86, «7z» is x64.) Removed: factor, gzip, split. (Use «7za x» instead of «gzip -d» for decompression.) Updated: Boost 1.42.0, FreeType 2.3.12, jpegtran 8, libjpeg 8, libpng 1.4.1, pngcrush 1.7.9. Rebuilt: Everything, without UPX compression. 5.0 1/6/2010 4.4.1 1.41.0 Updated: GCC 4.4.1-nuwen, libpng 1.4.0. Rebuilt: Everything. 4.3 1/1/2010 4.3.3 1.41.0 Added: 7-Zip 4.65. Updated: binutils 2.20, Boost 1.41.0, FreeType 2.3.11, gzip 1.3.13, jpegtran 7, libjpeg 7, libogg 1.1.4, libpng 1.2.41, libvorbis 1.2.3, make 3.81 20090914, mingw-runtime 3.17, patch 2.6.1, pngcrush 1.7.6, SDL 1.2.14, SDL_mixer 1.2.11, sed 4.2.1, UPX 3.04, w32api 3.14, wget 1.12. Rebuilt: Everything. 4.2 5/18/2009 4.3.3 1.39.0 Updated: Boost 1.39.0, FreeType 2.3.9, pngcrush 1.6.17, sed 4.2. Rebuilt: Everything. 4.1 2/22/2009 4.3.3 1.38.0 Removed: boost-jam. Updated: binutils 2.19.1, Boost 1.38.0, FreeType 2.3.8, GCC 4.3.3-dw2-tdm-1, GLee 5.4, grep 2.5.4, libpng 1.2.35, mingw-runtime 3.15.2, pngcrush 1.6.14. Rebuilt: Everything. 4.0 12/31/2008 4.3.2 1.37.0 Removed: bison, flex. Updated: binutils 2.19, boost-jam 3.1.17, GCC 4.3.2-dw2, libpng 1.2.34, mingw-runtime 3.15.1, pngcrush 1.6.12, pngrewrite 1.3.0, w32api 3.13. Rebuilt: Everything. 3.14 11/9/2008 4.2.1 1.37.0 Updated: Boost 1.37.0, libpng 1.2.33, pngcrush 1.6.11. Rebuilt: pngcheck 2.3.0, pngrewrite 1.2.1. 3.13 10/12/2008 4.2.1 1.36.0 Updated: GLee 5.33, libpng 1.2.32, pngcrush 1.6.10. Rebuilt: pngcheck 2.3.0, pngrewrite 1.2.1. 3.12 9/21/2008 4.2.1 1.36.0 Patched: FreeType 2.3.7, libjpeg 6b. 3.11 8/22/2008 4.2.1 1.36.0 Updated: libpng 1.2.31, pngcrush 1.6.9. Rebuilt: Boost 1.36.0, pngcheck 2.3.0, pngrewrite 1.2.1. 3.10 8/14/2008 4.2.1 1.36.0 Updated: Boost 1.36.0, FreeType 2.3.7, pngcrush 1.6.7, wget 1.11.4. 3.9 5/19/2008 4.2.1 1.35.0 Removed: cat, cvs, expand, glpng, SDL_ttf. Updated: libpng 1.2.29, pngcrush 1.6.5. Rebuilt: pngcheck 2.3.0, pngrewrite 1.2.1. 3.8 5/5/2008 4.2.1 1.35.0 Updated: libpng 1.2.28, make 3.81 20080326-2, UPX 3.03, wget 1.11.2. Rebuilt: pngcheck 2.3.0, pngcrush 1.6.4, pngrewrite 1.2.1. 3.7 3/31/2008 4.2.1 1.35.0 Updated: binutils 2.18.50 20080109-2, Boost 1.35.0, bzip2 1.0.5, make 3.81 20080326, vorbis-tools 1.2.0, wget 1.11.1. 3.6 2/28/2008 4.2.1 1.34.1 Updated: libpng 1.2.25, wget 1.11. Rebuilt: flex 2.5.4a, pngcheck 2.3.0, pngcrush 1.6.4, pngrewrite 1.2.1. 3.5 1/13/2008 4.2.1 1.34.1 Added: FreeType 2.3.5, SDL_ttf 2.0.9. Updated: binutils 2.18.50 20080109. 3.4 12/31/2007 4.2.1 1.34.1 Updated: SDL 1.2.13. 3.3 12/29/2007 4.2.1 1.34.1 Patched: Boost 1.34.1. Updated: binutils 2.18.50 20071123, boost-jam 3.1.16, libpng 1.2.24, mingw-runtime 3.14, UPX 3.02, w32api 3.11. Rebuilt: Everything. 3.2 10/21/2007 4.2.1 1.34.1 Updated: libpng 1.2.22. Rebuilt: pngcheck 2.3.0, pngcrush 1.6.4, pngrewrite 1.2.1. 3.1 9/10/2007 4.2.1 1.34.1 Added: GLee 5.21. Updated: libpng 1.2.20. Rebuilt: pngcheck 2.3.0, pngcrush 1.6.4, pngrewrite 1.2.1. 3.0 8/19/2007 4.2.1 1.34.1 Patched: boost-jam 3.1.14. Rebuilt: Boost 1.34.1. Updated: GCC 4.2.1-dw2-2, grep 2.5.3, libpng 1.2.19, libvorbis 1.2.0, mingw-runtime 3.13, UPX 3.01, w32api 3.10. 2.8 8/2/2007 4.1.2 1.34.1 Rebuilt: SDL 1.2.12. 2.7 7/25/2007 4.1.2 1.34.1 Added: libogg 1.1.3, libvorbis 1.1.2, SDL_mixer 1.2.8, vorbis-tools 1.1.1. Updated: Boost 1.34.1. 2.6 7/20/2007 4.1.2 1.34.0 Updated: pngcheck 2.3.0, SDL 1.2.12. 2.5 5/18/2007 4.1.2 1.34.0 Updated: Boost 1.34.0, boost-jam 3.1.14, gzip 1.3.12, libpng 1.2.18, UPX 3.00. Rebuilt: pngcheck 2.2.0, pngcrush 1.6.4, pngrewrite 1.2.1. 2.4 5/6/2007 4.1.2 1.34.x Added: pngcheck 2.2.0. 2.3 4/5/2007 4.1.2 1.34.x Patched: patch 2.5.9. 2.2 3/28/2007 4.1.2 1.34.x Patched: GCC 4.1.2. Updated: mingw-runtime 3.12, w32api 3.9. 2.1 3/25/2007 4.1.2 1.34.x Updated: gzip 1.3.9, wget 1.10.2. Rebuilt: make 3.81. 2.0 2/26/2007 4.1.2 1.34.x Added: sed 4.1.5. Updated: binutils 2.17.50 20070129, GCC 4.1.2. 1.13 1/19/2007 3.4.2 1.34.x Patched: Boost 1.34.0 20061231. Updated: bzip2 1.0.4, libpng 1.2.15. Rebuilt: pngcrush 1.6.4, pngrewrite 1.2.1. 1.12 1/1/2007 3.4.2 1.34.x Updated: Boost 1.34.0 20061231. 1.11 12/13/2006 3.4.2 1.33.1 Updated: cvs 1.12.13a. 1.10 12/1/2006 3.4.2 1.33.1 Patched: libjpeg 6b. Updated: libpng 1.2.14. Rebuilt: pngcrush 1.6.4, pngrewrite 1.2.1. 1.9 11/20/2006 3.4.2 1.33.1 Added: jpegtran 6b. Updated: binutils 2.17.50 20060824, libpng 1.2.13, mingw-runtime 3.11, w32api 3.8. Rebuilt: pngcrush 1.6.4, pngrewrite 1.2.1. 1.8 8/8/2006 3.4.2 1.33.1 Added: libjpeg 6b. 1.7 6/28/2006 3.4.2 1.33.1 Updated: SDL 1.2.11. 1.6 6/22/2006 3.4.2 1.33.1 Patched: Boost 1.33.1. Removed: SDL_image. Updated: boost-jam 3.1.13, cvs 1.11.22, libpng 1.2.10, make 3.81, pngcrush 1.6.4, SDL 1.2.10, UPX 2.01, w32api 3.7. 1.5 3/12/2006 3.4.2 1.33.1 Removed: gdb. Updated: binutils 2.16.91 20060119, Boost 1.33.1, boost-jam 3.1.12, cvs 1.11.21, mingw-runtime 3.9, pngcrush 1.6.2, SDL 1.2.9, w32api 3.6. 1.4 9/18/2005 3.4.2 1.33.0 Updated: Boost 1.33.0, boost-jam 3.1.11. 1.3 7/30/2005 3.4.2 1.32.0 Patched: Boost 1.32.0. Updated: zlib 1.2.3. Rebuilt: pngcrush 1.5.10, pngrewrite 1.2.1. 1.2 7/6/2005 3.4.2 1.32.0 Added: pngcrush 1.5.10, pngrewrite 1.2.1. Updated: bzip2 1.0.3. 1.1 5/29/2005 3.4.2 1.32.0 Patched: Boost 1.32.0. Updated: cvs 1.11.20. 1.0 4/25/2005 3.4.2 1.32.0 First release.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.


https://nuwen.net/mingw.html (updated 10/30/2021)
Stephan T. Lavavej
Home: stl@nuwen.net
Work: stl@microsoft.com
This is my personal website. I work for Microsoft, but I don’t speak for them.

Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:

Freeware

Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).

Open Source

Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.

Free to Play

This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.

Demo

Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.

Trial

Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.

Paid

Usually commercial software or games are produced for sale or to serve a commercial purpose.

MinGW, a contraction of “Minimalist GNU for Windows”, is a minimalist development environment for native Microsoft Windows applications.

Downloading MinGW

  1. open http://www.mingw.org/
  2. Click Download Button as shown in the picture below.

dowinload mingw exe

3. As soon as you click download button on mingw website   The following page will open in your browser (from the SourceForge.net web site).

mingw download page

4. The following exe file will be downloaded with the name  mingw-get-setup.exe

mingw-get-setup-exe

5. Click  mingw-get-setup.exe

6. Click install

mingw-click-install

7. Click continue

mingw-click-continue

8. Click continue

mingw-installation-manager-setup-tool

mingw-on-installation-setup-complete-click continue

9. The following pop-up window will appear. Pleas make sure that you selected all the check-boxes. e.g. mingw32-base, mingw32-gcc=g++, msys-base and so on.

mingw-check-all-options

10. Click on Installation > Apply Changes as shown in the picture below.

mingw-apply-changes

11. wait for the process to complete. once you see successful installation message close the window. Click Close.

12. Now we will set environment variable to use gcc and g++ command from terminal.

Windows 10 and Windows 8
  1. In Search, search for and then select: System (Control Panel)
  2. Click the Advanced system settings link.

select-advanced-system-settings

  • Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.

select-environt-variables

select-path-click-edit

  • In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable.
  • Copy C:MinGWbin . 
  • Click OK.
  • Close all remaining windows by clicking OK.

set-path

  • Reopen Command prompt window, and type gcc. if you see the following output as shown in the picture below the mingw is installed successfully.

open-cmd-type-gcc


Video : How To install MinGW on Windows 10 (GCC & G++)

  • MinGW

Обновлено

2018-10-27 01:51:57

Совместимость

Windows XP, Windows Vista, Windows 7

Описание

MinGW — в это приложение входит необходимый комплект инструментария для линковки и компилирования программ. MinGW для Windows – это набор приспособлений, который позволит разрабатывать программное обеспечения для создания приложений.

Загрузить MinGW и использовать как компилятор разрешено бесплатно. У утилиты лицензия GNU GPL – открытое лицензионное соглашение. Для компиляции указывают имя компилятора, имя исходного файла и с каким расширением и куда будет сохранён скомпилированный исполняемый файл. Такая программа запускается через строку команд.

Перечислим основные особенности

  • В программу включены дополнительные наборы утилит. Интегрирован пакет инструментария для старта скриптов.
  • В приложении доступны порты, полный набор MSYS и некоторые пакеты открыты для загрузки.
  • Установка компактна и не вызывает проблем.
  • Программа MinGW постоянно обновляется и совершенствуется.
  • Компиляция C++ кода и линковка медленны.
  • Код, сгенерированный приложением, запускается быстро.

Скачать бесплатно MinGW для компьютера без регистрации можно на нашем сайте.

Версии

I am desperately trying to install the latest version of mingw-w64 to get acess to gcc 10 on windows 10.

I used the online installer for mingw-w64 in the past, but it is still stuck in 2018 on 8.1.0 and seems to be abandoned.

So i tried installing it manually.

On SourceForge or the GitHub Mirror you seem to only get a chunk of code without any clear instructions on what do do, how to build and install it. The only installation instructions that i managed to find required you to already have a working gcc installed (very helpful if that is what you want to get installed in the first place).

On their website and wiki there is a precompiled binary package mentioned. But the only one that i could find was horribly outdated as well.

Comparing this with the installation process of clang or the microsoft build tools, it actually blows my mind how something as basic as installation can be this confusing.

Maybe it’s just me missing the obvious , but how do you actually install this thing?

asked Apr 29, 2020 at 8:29

kayosa's user avatar

2

GCC 10 is officially released.
The personal build for Windows (MinGW-w64) that can be downloaded from https://winlibs.com requires no installation, just extract to a folder.

answered Apr 30, 2020 at 11:29

Brecht Sanders's user avatar

Brecht SandersBrecht Sanders

5,7821 gold badge14 silver badges38 bronze badges

4

Building GCC on Windows from source code is very difficult and cannot be recommended to beginners. Moreover, GCC 10 has not yet been officially released and you may need to wait a few more weeks to get it.

If you want an up-to-date GCC in Windows (currently version 9.3), I recommend downloading and installing the MSYS2 package. Once you install it, launch it using the «MinGW64» icon and install the correct compiler in the terminal. For details, see this question: How to install MinGW-w64 and MSYS2?

Once you have done this, you can forget about MSYS2 and simply use the directory with the binaries in your PATH.

The maintainers of MSYS2 are very keen in supporting bleeding edge software, so once GCC 10 is released, you will be able to update to it (using the command pacman -Syu)
very soon.

answered Apr 29, 2020 at 10:44

jacob's user avatar

jacobjacob

1,5151 gold badge12 silver badges25 bronze badges

I recommend obtaining MinGW through MSys2 https://www.msys2.org/

First install MSys2, then perform a full update by first updating the package database and updating pacman

pacman -SySu

After the update is done it will ask you to close the terminal without exiting to shell. Do so, then perform a full update by running

pacman -Su

after which you can install the mingw-w64 packages. Use

pacman -Ss mingw

to list all available packages. Install with

pacman -S ${PACKAGE_NAME}

answered May 13, 2020 at 12:04

datenwolf's user avatar

datenwolfdatenwolf

157k12 gold badges184 silver badges294 bronze badges

0

Installing via MSYS2 will give you gcc 10.1 .

You can treat MSYS2 as a package manager for keeping gcc up to date, and not use its shell if you like. Its packages include standalone 32-bit gcc, standalone 64-bit gcc, and MSYS2-target gcc. It is a very similar process to installing gcc via package manager on a Linux system.


how something as basic as installation can be this confusing

This is not uncommon with open source when there’s no customer income stream to pay developers to build and maintain a smooth installer. Someone has to do the work of hosting and maintaining binary builds and often people will do it for a while out of the goodness of their heart, and then move on, as seems to have happened with the «official» mingw-builds installer.

So while the solutions you see on this thread today will work for now, in a few years’ time the answers may be different

answered May 13, 2020 at 12:06

M.M's user avatar

M.MM.M

137k21 gold badges201 silver badges349 bronze badges

Go to Environment Variables. You should find it by searching for it in the search pane of control panel. As soon as you click Environment variables, you should see a new pop-up. Click the edit under System Variable. Navigate till you find ‘PATH’. Click Edit.

Now very important steps. You will see an existing address under ‘Variable Value’. Copy that (preferably to a Text doc). In that address, Delete the address containing mingw32 between two semicolons. And now add the address of the newly installed version’s ‘bin’ folder (anywhere you want, importantly,between two semicolons).

Then paste the whole new address back again to the Variable Value field. Click OK for everything.

It should mostly work now. This is what I did. You can check if it updated by running ‘g++ —version’ in the CMD.

answered May 14, 2020 at 12:28

Ram Dhiwakar S's user avatar

Понравилась статья? Поделить с друзьями:
  • Mini windows 7 games for windows
  • Mingw w64 как установить windows 10
  • Mini vci j2534 программа на русском скачать windows 10
  • Mingw minimalist gnu for windows скачать
  • Mini vci j2534 драйвер windows 7 x32 установка