Changes between Version 35 and Version 36 of CompilationGuide/MinGW


Ignore:
Timestamp:
Jun 15, 2016, 10:46:51 AM (3 years ago)
Author:
rogerdpack
Comment:

more msys

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MinGW

    v35 v36  
    7171}}}
    7272
     73=== MSYS ===
     74
     75Just install it then run its console, you will be able to then run configure (assuming you've installed a gcc to you PATH already).
     76
    7377=== MSYS2 ===
    7478
    75 Alternatively, you can install GCC along with the MSYS2 system:
     79MSYS2, install it,
    7680
    7781https://msys2.github.io/
     82
     83
     84then run the {{{mingw32_shell.bat}}} or {{{mingw64_shell.bat}}} command in the MSYS2 installation home.  Be careful not to run the {{{MSYS2 Shell}}} as this will result in FFmpeg's configure saying {{{building an MSYS binary is not recommended}}} and exiting.
     85
     86Now install requisite packages:
     87
     88{{{
     89pacman -S make
     90pacman -S diffutils
     91pacman -S yasm
     92}}}
     93
     94Alternatively, you can install GCC along with the MSYS2 system, and not need any of the mingw-w64 instructions above:
    7895
    7996MSYS2 comes with a package management system called {{{pacman}}} adopted from Arch Linux, and allows to easily install binary packages from the commandline. To compile FFmpeg, you need to install the mingw-w64 GCC environment (either in the i686 or x86_x64 flavor). Use one of the commands:
     
    8198pacman -S mingw-w64-x86_64-gcc
    8299pacman -S mingw-w64-i686-gcc
    83 pacman -S make
    84 pacman -S diffutils
    85100}}}
    86101
    87 This installs "gcc.exe" commands that are actually built for MSYS2 but are the windows gcc compilers.
    88 
    89 and run the {{{mingw32_shell.bat}}} or {{{mingw64_shell.bat}}} command in the MSYS2 installation home. If you use MSYS2 many packages can be easily installed by using {{{pacman}}} (for example {{{pacman -S pkg-config}}}). Then configure and make as normal.
     102This installs "gcc.exe" commands that are actually built for MSYS2 but are the windows gcc compilers.  Configure and make as normal.
     103
     104If you use MSYS2 many packages can be easily installed by using {{{pacman}}} (for example {{{pacman -S pkg-config}}}).
    90105
    91106=== MinGW installation style ===
     
    98113
    99114This should also avoid conflicts with MinGW/MSys.
    100 
    101115
    102116== Git ==