]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '6b7df14251c49331ae7efd4811ec21f4415ccdb5'
authorHendrik Leppkes <h.leppkes@gmail.com>
Sun, 29 Nov 2015 14:33:52 +0000 (15:33 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Sun, 29 Nov 2015 14:33:52 +0000 (15:33 +0100)
* commit '6b7df14251c49331ae7efd4811ec21f4415ccdb5':
  doc: Document better how to use MSYS2

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
1  2 
doc/platform.texi

index 54f7bb759582e52c29f124a0f88fdb143c90cf9d,09a38ff9e389d443640f7c95c5d11268ac757ce5..a4dcff56848f360b4b3f8db5d5fb8d56499b50c6
@@@ -122,9 -120,27 +127,27 @@@ libavformat) as DLLs
  
  @end itemize
  
+ @subsection Native Windows compilation using MSYS2
+ The MSYS2 MinGW-w64 environment provides ready to use toolchains and dependencies
+ through @command{pacman}.
+ Make sure to use @file{mingw64_shell.bat} or @file{mingw32_shell.bat} to have
+ the correct MinGW-w64 environment.
+ @example
+ # normal msys2 packages
+ pacman -S make pkgconf diffutils
+ # mingw-w64 packages and toolchains
+ pacman -S mingw-w64-x86_64-yasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL
+ @end example
+ To target 32bit replace the @code{x86_64} with @code{i686} in the command above.
  @section Microsoft Visual C++ or Intel C++ Compiler for Windows
  
 -Libav can be built with MSVC 2012 or earlier using a C99-to-C89 conversion utility
 +FFmpeg can be built with MSVC 2012 or earlier using a C99-to-C89 conversion utility
  and wrapper, or with MSVC 2013 and ICL natively.
  
  You will need the following prerequisites: