summaryrefslogtreecommitdiffstats
path: root/doc/texi/Building.mingw.texi
blob: 314436237943ee48d8e5aa5748f56d6aa689f27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\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