\input texinfo @c -*- Texinfo -*- @c %**start of header @setfilename Building.mingw.info @include base/article.texi @include building/command.texi @paragraphindent none @set BG-platform @value{OS-mingw} @c %**end of header @majorheading Guide to Building @value{HB-title} on @value{BG-platform} @contents @sp 1 @include building/chapter.introduction.texi @c %**------------------------------------------------------------------------- @anchor{prerequisites} @chapter Prerequisites The following are the recommended specifications for building on @value{OS-mingw}; but is not necessarily the only configuration that is possible: @itemize @bullet @item Intel 64-bit hardware @item @value{OS-mingw} on Fedora 20+, Ubuntu 14+ or Debian 7+ using gcc 4.7+ @item Official MinGW-w64 builds are recommended over those provided by distributions. @item yasm 1.3 or newer @item Please be aware libfftw3-dev can cause build failures. You currently need to remove this package if installed for HandBrake to build. @end itemize @quotation Note We use MinGW-w64 from http://sourceforge.net/projects/mingw-w64/files/?source=navbar Please see "Toolchains targetting Win64" -> "Automated Builds" and choose the latest version. At the time of writing, "mingw-w64-bin_x86_64-linux_20131228.tar.bz2" is used. @end quotation @quotation Note2 You must set the --cross flag with configure to cross compile with windows. See the Example below. Note that the cross compiler name varies between distributions. The following is an example: @end quotation @example ../configure --cross=x86_64-w64-mingw32 --launch @end example @include building/prerequisites.common.texi @c %**------------------------------------------------------------------------- @include building/chapter.quickstart.texi @anchor{overview} @chapter Overview @value{OS-mingw} builds are performed from a @b{terminal}. There is no support for building from any IDEs. @c %**------------------------------------------------------------------------- @include building/chapter.via.terminal.texi @include building/chapter.troubleshooting.texi @include building/appendix.repo.texi