[Request for install] MinGW W64

Timotei's Avatar


01 Jun, 2016 08:59 PM


Currently, the images have the "legacy" (old & unmaintained) mingw project. However, mingw-w64, is a fork of mingw, which is maintained. Could we have that instead/besides the legacy mingw? It would help a lot to not have to manually install it everytime.

The only "issue" is that there are two "variants" of threading: posix & win32. But we could have the two possible installed in different directories, so we can just chose whichever we want.

How does that sound?

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Jun, 2016 09:57 PM

    Feodor Fitsner's Avatar

    What about MSYS2? Is it not the same?

  2. 2 Posted by Timotei Dev on 01 Jun, 2016 10:17 PM

    Timotei Dev's Avatar

    Well, not really. MSYS2 is Cygwin-based, but MinGW (and MinGW-W64, by
    definition is native to Windows)

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Jun, 2016 10:21 PM

    Feodor Fitsner's Avatar

    OK, I presume we need mingw-w64 then with "win32" flavor? Can you drop a URL with download and installation instructions please?

  4. 4 Posted by Timotei Dev on 01 Jun, 2016 10:47 PM

    Timotei Dev's Avatar

    It can be quickly installed by chocolatey:

    |choco install mingw


    |choco install mingw --x86

    |There will install mingw in:

    |* C:\tools\mingw32|

    |* C:\tools\mingw64

  5. Support Staff 5 Posted by Feodor Fitsner on 02 Jun, 2016 07:14 PM

    Feodor Fitsner's Avatar

    There are also numerous mingw installations inside C:\Qt folder, for example: C:\Qt\5.6\mingw49_32

  6. 6 Posted by Jens A. Koch on 26 Aug, 2016 08:00 PM

    Jens A. Koch's Avatar

    > Can you drop a URL with download and installation instructions please?

    I would suggest the 32 and 64 bit flavors of tdm-gcc,
    but i'm not sure about the "variants" of threading it supports.


    Sadly, the tdm-gcc installer executable doesn't support silent or automated installs.
    A pre-installation on Appveyor would be really helpful.
    Normally i install with type "MinGW stable, C++" and zip the install folder to make it portable.

  7. 7 Posted by ralph.lange on 31 Aug, 2016 02:45 PM

    ralph.lange's Avatar

    I would like to upvote the request to pre-install MinGW 32 and 64 through their chocolatey packages.

    I am trying to run an extensive matrix (all architectures, all compilers, statically and dynamically linked) and these packages work fine but take time and create stochastic 404 failures when they are being installed.

  8. Support Staff 8 Posted by Feodor Fitsner on 31 Aug, 2016 07:40 PM

    Feodor Fitsner's Avatar

    Would you need all "thread" and "exception" permutations for both 64- and 32-bit versions?

  9. 9 Posted by ralph.lange on 01 Sep, 2016 11:26 AM

    ralph.lange's Avatar

    Nah - the vanilla versions installed using choco (as mentioned above by Timotei) are working fine for me.
    IMHO doing combinations on libraries would be beyond the limit of keeping things reasonable.

    BTW. You can't regularly install both 64 and 32 bit versions on a single system, as they are two flavors of the same package for choco. This will requires manual copying both into to same image or making choco force-install the second flavor.

  10. Support Staff 10 Posted by Feodor Fitsner on 01 Sep, 2016 04:42 PM

    Feodor Fitsner's Avatar

    By "flavors" do you mean 64- and 32-bit versions? It's not an issue to install all flavors without Chocolatey. What command do you use to install mingw with Chocolatey?

  11. 11 Posted by ralph.lange on 02 Sep, 2016 08:30 AM

    ralph.lange's Avatar

    Yes, I mean the 32 vs. 64 bit versions.

    With Chocolatey I am using
        cinst mingw
    for the 64 bit version, and
        cinst mingw --x86
    to force installing the 32bit version.

    This will install in the places Timotei mentioned.

  12. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:08 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac