diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-02-05 16:17:29 -0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-06 13:45:23 +0100 |
commit | 01d9e402004da6ebbdb58cfa8b6110ee2c350a71 (patch) | |
tree | 2cdfe8c7ceab321364747ed37c4b2eb08d61be27 /DOCS | |
parent | 515a30d9a5a96ec54c9289f58aeb4ef6bbc70751 (diff) | |
download | mpv-01d9e402004da6ebbdb58cfa8b6110ee2c350a71.tar.bz2 mpv-01d9e402004da6ebbdb58cfa8b6110ee2c350a71.tar.xz |
DOCS/crosscompile-mingw: use Markdown
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/crosscompile-mingw.md (renamed from DOCS/crosscompile-mingw.txt) | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/DOCS/crosscompile-mingw.txt b/DOCS/crosscompile-mingw.md index 0e8f59c65e..42b89036d7 100644 --- a/DOCS/crosscompile-mingw.txt +++ b/DOCS/crosscompile-mingw.md @@ -1,3 +1,6 @@ +Cross Compiling to Windows +========================== + Cross compiling mpv to Windows is supported with MinGW-w64. This can be used to produce both 32 bit and 64 bit executables. MinGW-w64 is available from http://mingw-w64.sourceforge.net. @@ -16,8 +19,9 @@ Note that MinGW environments included in Linux distributions are often broken, outdated and useless, and usually don't use MinGW-w64. Example with MXE -================ +---------------- +```bash # Download MXE. Note that compiling the required packages requires about 1 GB # or more! @@ -46,3 +50,4 @@ cd mpv export PATH=/opt/mingw/usr/bin/:$PATH DEST_OS=win32 TARGET=i686-w64-mingw32 ./waf configure ./waf build +``` |