- Downloads
- Pre-built toolchains and packages
- Arch Linux
- Ubuntu
- Cygwin
- Debian
- Fedora
- LLVM-MinGW
- MacPorts
- Mingw-builds
- MSYS2
- Win-Builds
- Sources
- Unsorted complementary list
- Darwin/Mac OS X
- OpenSUSE
- Rubenvb
- GCC with the MCF thread model
- Store of binaries on SourceForge
- C, C#,C++ Compilers for Mac OS X
- Cross Compilers for Mac OS X
- Compiling for WIN32 on Mac OS X
- MinGW Binaries for Intel
- MinGW Binaries for ppc
- Compiling for Linux on MacOS X
- 32-Bit Linux Binaries for Mac Intel
- 64-Bit Linux Binaries for Mac Intel
- Compiling for Renesas H8 on MacOS X
- Compiling for ARM on MacOS X
- License
- Аналоги MinGW для Mac OS
- Альтернативы для MinGW для Mac OS
- Что в этом списке?
- how do I install both mingw32 and mingw64 on Linux or MacOS?
- 4 Answers 4
Downloads
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..
Pre-built toolchains and packages
Version | Host | GCC / Mingw-w64 Version | Languages | Additional Software in Package Manager | |
---|---|---|---|---|---|
Arch Linux | Arch Linux | 11.2.0/9.0.0 | Ada, C, C++, Fortran, Obj-C, Obj-C++ | many | |
Cygwin | Rolling | Windows | 5.4.0/5.0.2 | Ada, C, C++, Fortran, Obj-C | 5 (bzip2, libgcrypt, libgpg-error, minizip, xz, zlib) |
Debian | Debian 7 (Wheezy) | 4.6.3/2.0.3 | Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml | 2 (gdb, nsis) | |
Debian 8 (Jessie) | 4.9.1/3.2.0 | ||||
Debian 9 (Stretch) | 6.3.0/5.0.0 | 9 (gdb, libassuan, libgcrypt, libgpg-error, libksba, libnpth, nsis, win-iconv, zlib) | |||
Debian 10 (Buster) | 8.3.0/6.0.0 | ||||
Fedora | Fedora 19 | 4.8.1/? | Ada, C, C++, Fortran, Obj-C, Obj-C++ | 149+ | |
LLVM-MinGW | 20210423 | Windows, Linux | LLVM 12.0.0/trunk | C, C++ | make |
MacPorts | Rolling | macOS | 8.2.0/5.0.4 | C, C++, Fortran, Obj-C, Obj-C++ | 1 (nsis) |
MingW-W64-builds | Rolling | Windows | 7.2.0/5.0.3 | C, C++, Fortran | 4 (gdb, libiconf, python, zlib) |
Msys2 | Rolling | Windows | 9.2.0/trunk | Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml | many |
Ubuntu | 12.04 Precise Pangolin | 4.6.3/2.0.1 | Ada, C, C++, Fortran, Obj-C, Obj-C++, OCaml | 2 (nsis, gdb) | |
14.04 Trusty Tahr | 4.8.2/3.1.0 | ||||
14.10 Utopic Unicorn | 4.9.1/3.1.0 | ||||
15.04 Vivid Vervet | 4.9.2/3.2.0 | ||||
15.10 Wily Werewolf | 4.9.2/4.0.2 | ||||
16.04 Xenial Xerus | 5.3.1/4.0.4 | 3 (nsis, gdb, zlib) | |||
Win-Builds | 1.5 | Windows, Linux | 4.8.3/3.3.0 | C, C++ | 91+ |
Arch Linux
Ubuntu
Installation: through integrated package manager.
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.
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.
MacPorts
To install just the 32-bit or just 64-bit compiler with dependencies, use:
A shortcut to install both:
Mingw-builds
MSYS2
Win-Builds
Win-builds is a cross-platform project that makes building for Windows easy. It supports building from both Windows and Linux systems and provides many pre-built libraries which can be installed through a graphical package manager.
It aims for stability while still providing recent versions of software packages.
Sources
Tarballs for the mingw-w64 sources are hosted on SourceForge. 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 latest version from the 4.x series is 4.0.6. The latest version from the 3.x series is 3.3.0. Winpthreads has been merged into the main tarball as of 3.1.0.
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.
Источник
C, C#,C++ Compilers for Mac OS X
Cross Compilers for Mac OS X
For some of my softwares, I needed to built a multi platform distribution package, including executable for Windows and Linux. As I mainly work on Mac, I have decided to built GCC cross compilers for Windows and Linux. Then I have built Mac OS X packages in order to make installation simplest.
Compiling for WIN32 on Mac OS X
This is a cross compilation of MinGW on Mac OS X.
A package installs all files in the given intallation directory, for example in /usr/local/i386-mingw32-3.4.5 for release 2 for Intel Mac.
All tools are located in the bin sub directory. You can add this path to your $PATH shell variable, or invoke the tools with their full path name: for example /usr/local/i386-mingw32-3.4.5/bin/i386-mingw32-gcc for gcc. Note tool names always begin by i386 , even for Power PC: for example, /usr/local/ppc-mingw32-4.3.0/bin/i386-mingw32-gcc .
You can find some sample code in MinGW sample code page.
MinGW Binaries for Intel
Version
Corresponds to…
Implemented languages
Installer to download
Installation directory
3 (february 2009)
MinGW 4.3.0
C, C++, Objective-C, Objective C++, Java, Fortran
MinGW 4.3.0 for Mac OS X (Intel).pkg.tar.bz2 (40.7 MB)
/usr/local/i386-mingw32-4.3.0/
2 (december 2006)
MinGW 3.4.5
C, C++, Objective-C, Java, Ada, Fortran 77
MinGW-3.4.5-for-Mac-OS-X-Intel.tar.bz2 (38.4 MB)
/usr/local/i386-mingw32-3.4.5/
MinGW Binaries for ppc
Binaries for pcc should work on Mac OS X.3 and later.
Version
Corresponds to…
Implemented languages
Installer to download
Intallation directory
3 (february 2009)
MinGW 4.3.0
C, C++, Objective-C, Objective C++, Java, Fortran
MinGW 4.3.0 for Mac OS X (PPC).pkg.tar.bz2 (38.3 MB)
/usr/local/ppc-mingw32-4.3.0/
2 (december 2006)
MinGW 3.4.5
C, C++, Objective-C, Java, Ada, Fortran 77
MinGW-3.4.5-for-Mac-OS-X-ppc.tar.bz2 (38.3 MB)
/usr/local/i386-mingw32-3.4.5/
1 (december 2005)
MinGW 3.4.4
C, C++, Objective-C, Java, Ada, Fortran 77
MinGW-3.4.4-for-Mac-OS-X-ppc.tar.bz2 (37 MB)
/usr/local/i386-mingw32-3.4.4/
Yes, it is an error, ppc binaries for versions 1 and 2 install in an i386… directory.
Compiling for Linux on MacOS X
This is a cross compilation of GCC on Mac OS X.
A package installs all files in the given installation directory. Within the installed directory, the contents.txt file contains the detail of cross-compiled archives.
All tools are located in the bin sub directory. You can add this path to your PATH shell variable, or invoke the tools with their full path name: for example /usr/local/gcc-4.5.2-for-linux32/bin/i586-pc-linux-gcc for gcc.
For better portability of Linux tools built with theses cross compilation chains, invoke the linker with the -static option, for example:
/usr/local/gcc-4.5.2-for-linux32/bin/i586-pc-linux-gcc -static for C linking;
/usr/local/gcc-4.5.2-for-linux32/bin/i586-pc-linux-g++ -static for C++ linking.
32-Bit Linux Binaries for Mac Intel
Version
Corresponds to…
Implemented languages
Installer to download
Installation directory
64-Bit Linux Binaries for Mac Intel
Version
Corresponds to…
Implemented languages
Installer to download
Installation directory
Compiling for Renesas H8 on MacOS X
KPIT Cummins provides KPIT GNU Tools for Renesas micros. Here is a cross compilation of GNU H8 compiler suite for Mac OS X, from sources provided by KPIT Cummins.
You can find here Intel binaries, Power PC binaries, and source packages.
Compiling for ARM on MacOS X
You can find here Intel binaries, Power PC binaries, and source packages for compiling for ARM on Mac OS X.
License
Copyright © 2005, 2006, 2009, 2010 by Pierre Molinaro
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Источник
Аналоги MinGW для Mac OS
MinGW («Минималистичный GNU для Windows») — это порт коллекции компиляторов GNU (GCC) и GNU Binutils. Он предоставляет полный набор инструментов для программирования с открытым исходным кодом, который подходит для разработки собственных приложений MS-Windows (x86), не зависящие от сторонних DLL-библиотек C-Runtime.
Компиляторы MinGW предоставляют доступ к функциональности среды выполнения Microsoft C и некоторым языковым средам исполнения. MinGW, будучи минималистом, не пытается и никогда не будет пытаться предоставить среду выполнения POSIX для развертывания приложений POSIX в MS-Windows. Если вы хотите развернуть приложение POSIX на этой платформе, рассмотрите Cygwin.
Альтернативы для MinGW для Mac OS
Android iOS (iPhone / iPad)
PowerShell (включая Windows PowerShell и PowerShell Core) представляет собой среду автоматизации задач и управления конфигурацией от Microsoft, состоящую из оболочки командной строки и соответствующего языка сценариев, созданного на основе .NET Framework.
- Бесплатная Windows Mac OS
Windows PowerShell — это расширяемая оболочка командной строки и связанный язык сценариев от Microsoft. Windows PowerShell интегрируется с Microsoft .NET Framework и предоставляет среду для выполнения командлетов, которые являются специализированными классами .NET, реализующими определенную операцию, сценариями, которые составляют композицию командлетов вместе с императивной логикой, исполняемыми файлами, являющимися автономными приложениями. Они работают путем доступа к данным в разных хранилищах данных, таких как файловая система или реестр.
Что в этом списке?
В списке находится программы которые можно использовать для замены MinGW на платформе Mac OS.
Это аналоги похожие по функционалу на MinGW, которые заменяют программу частично или полностью. Этот список содержит 1 замену.
С помощью пользователей мы собираем каталог похожих друг на друга программ, чтобы вы могли подобрать альтернативу и скачать их. На сайте можно скачать популярные программы для Windows, Mac Os, Android и iPhone
Источник
how do I install both mingw32 and mingw64 on Linux or MacOS?
I’m having trouble installing both mingw32 and mingw64 on Linux or MacOS. I’ve tried many different package repositories and multiple versions of Linux. I’m happy to use anything.
4 Answers 4
On Ubuntu, you can get going in many cases with «apt-get install gcc-mingw32»
If you need to install both the 64-bit and 32-bit mingw compilers, try this:
For 64-bit build systems:
For 32-bit build systems:
On Fedora, you can install mingw32 using standard yum. To install mingw64, follow the instructions at:
Best bet for cross-compiling seems to be Fedora, which gives you both mingw32 and mingw64:
sudo yum install mingw32-gcc-c++
I haven’t been able to find a 64-bit cross-compiler for Mac.
Fedora has a very nice mingw32 cross compiler framework with lots of pre-compiled libraries. The packages are all included in the official package repository and it’s just the matter of running ‘yum install mingw32-gcc’ to set the compiler up. See the Fedora MinGW project page for more information.
However, the official packages currently only support the 32 bit Windows target. To lift that restriction, there is work underway and a temporary repository set up with mingw32, mingw64, and OS X cross compilers. See https://fedoraproject.org/wiki/MinGW/CrossCompilerFramework for more info.
I take it you want to cross-compile to both win32 and win64. Current Debian testing can help you there with the gcc-mingw-w64 package. Drawback is that shared gcc libraries (=> cross-DLL exception support etc.) is currently disabled.
Источник