Changes between Version 22 and Version 23 of CompilationGuide/MinGW


Ignore:
Timestamp:
Dec 19, 2014, 3:01:10 PM (5 years ago)
Author:
rogerdpack
Comment:

note msys2 packages

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MinGW

    v22 v23  
    1515== MinGW ==
    1616
    17 You basically have two options for a compiler: mingw "mainline" or mingw-w64.  Both offer working gcc's for windows.  The latter tends to be slightly more up to date than the former, and offers a few more libraries, like DirectShow headers.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" and one "MSys" or "Msys2", the former providing gcc, the latter providing shell utilities like make and bash.
     17You basically have two options for a compiler: mingw "mainline" or mingw-w64.  Both offer working gcc's for windows.  The latter tends to be slightly more up to date than the former, and offers a few more libraries, like DirectShow headers.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" package and one ("MSys" or "Msys2"), MinGW providing gcc and headers, MSys providing shell utilities like make and bash.  Also of note is that the Msys2 system includes some packages like "mingw-w64-i686-gcc" (i.e. cross compilers) that might be of some usefulness if you want to go the cross compiling [but still in windows land] route, similar to cross compiling using cygwin.  There is a separate wiki page for cross compiling.
    1818
    1919Go to:
     
    2525MinGW-w64 can be found at:
    2626
    27 http://mingw-w64.sourceforge.net (note this project does not contain downloadable compilers, you'll probably want the "win-builds" project for that http://win-builds.org/ or the "mingw-builds" project, which provide pre-built compilers).
     27http://mingw-w64.sourceforge.net (note this project does not contain downloadable compilers, you'll probably want the "win-builds" project for that http://win-builds.org/ or the "mingw-builds" project, which provide pre-built compilers, see list of differences here: http://stackoverflow.com/a/20502212/32453).
    2828
    2929The recommended way to install MinGW/MSys is through the automated