| 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" package and one ("MSys" or "Msys2"), MinGW provides gcc and headers, MSys provides shell utilities like make and bash. Also of note is that the Msys2 system appears to include some packages like "mingw-w64-i686-gcc" (i.e. cross compilers) that might be useful if you want to go the cross compiling [but still in windows land] route, similar to cross compiling using cygwin. But on to MinGW: |
| | 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" package and one ("MSys" or "Msys2"), MinGW provides gcc and headers, MSys provides shell utilities like make and bash. Also of note is that the Msys2 system appears to include some packages like "mingw-w64-i686-gcc" (i.e. cross compilers) that might be useful if you want to go the cross compiling [but still in windows land] route, similar to cross compiling using cygwin. |