Changes between Version 37 and Version 38 of CompilationGuide/MinGW


Ignore:
Timestamp:
Jun 30, 2016, 5:39:30 PM (3 years ago)
Author:
rogerdpack
Comment:

maybe possible to clean it up

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MinGW

    v37 v38  
    1515== MinGW/MSys ==
    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 more library compatibility, like DirectShow headers, so preferably use mingw-w64.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" package (MinGW or mingw-w64) and one ("MSys" or "Msys2"), MinGW provides gcc and headers and change, 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.
     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 more library compatibility, like DirectShow headers, so preferably use mingw-w64.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" package (MinGW or mingw-w64) and one ("MSys" or "Msys2"), MinGW provides gcc and headers and change, Msys provides shell utilities like make and bash.
    1818
    1919=== mingw-w64 ===
     
    104104If you use MSYS2 many packages can be easily installed by using {{{pacman}}} (for example {{{pacman -S pkg-config}}}).
    105105
    106 Unfortunately the gcc.exe it provides seems to create binary's that require files like "libgcc_s_dw2-1.dll" and "libwinpthread-1.dll" (etc.?) to accompany your executable, so can cause some difficulty there.
     106Unfortunately the gcc.exe it provides seems to create binary's that require files like "libgcc_s_dw2-1.dll" and "libwinpthread-1.dll" (etc.?) to accompany your executable, so can cause some difficulty there. You can remove some files to remove dependencies on things like "libbzip2.dll" see https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=3688 and possibly avoid the libgcc.dll requirement by using "-static" at linking time.
    107107
    108108=== MinGW installation style ===