Changes between Version 35 and Version 36 of CompilationGuide/MinGW
- Timestamp:
- Jun 15, 2016, 7:46:51 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/MinGW
v35 v36 71 71 }}} 72 72 73 === MSYS === 74 75 Just 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 73 77 === MSYS2 === 74 78 75 Alternatively, you can install GCC along with the MSYS2 system: 79 MSYS2, install it, 76 80 77 81 https://msys2.github.io/ 82 83 84 then 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 86 Now install requisite packages: 87 88 {{{ 89 pacman -S make 90 pacman -S diffutils 91 pacman -S yasm 92 }}} 93 94 Alternatively, you can install GCC along with the MSYS2 system, and not need any of the mingw-w64 instructions above: 78 95 79 96 MSYS2 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: … … 81 98 pacman -S mingw-w64-x86_64-gcc 82 99 pacman -S mingw-w64-i686-gcc 83 pacman -S make84 pacman -S diffutils85 100 }}} 86 101 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.102 This installs "gcc.exe" commands that are actually built for MSYS2 but are the windows gcc compilers. Configure and make as normal. 103 104 If you use MSYS2 many packages can be easily installed by using {{{pacman}}} (for example {{{pacman -S pkg-config}}}). 90 105 91 106 === MinGW installation style === … … 98 113 99 114 This should also avoid conflicts with MinGW/MSys. 100 101 115 102 116 == Git ==
