Skip to content

MinGW Cross & Host Build

WangBin edited this page Jul 1, 2018 · 1 revision

Supported host Platforms:

  • Windows
  • Linux
  • macOS

On Windows

Requirements:

  • MSYS2
  • MSYS2 packages: pacman -Sy --needed diffutils gawk patch pkg-config mingw-w64-i686-gcc mingw-w64-x86_64-gcc nasm yasm

Build command: ./avbuild.sh

On Linux, macOS

Install mingw-w64 compiler on linux or macOS, run ./avbuild.sh mingw x86 or ./avbuild.sh mingw x86_64 for single arch build, run ./avbuild.sh mingw "x86 x86_64" for multi arch build