b/26525039

Clone this repo:

Branches

  1. da9c147 Fix the build: Add library file from Mingw-w64 5.0.0 by David 'Digit' Turner · 3 months ago master
  2. e9045bf build.sh: Enable LTO and plugins for binutils by David 'Digit' Turner · 3 months ago
  3. 84681b6 build.sh: Add --gcc-version=<version> option. by David 'Digit' Turner · 3 months ago
  4. 660e307 build.sh: Update to Mingw-w64-5.0.0 by David 'Digit' Turner · 3 months ago
  5. 56ddde3 Merge "CRT: vsprintf_s calling wrong function" by Pirama Arumuga Nainar · 6 months ago

Building Mingw for Android

The build.sh script in this directory is used to build mingw for Android.

Mingw is built from the mingw branch of AOSP. To fetch the sources:

repo init -u https://android.googlesource.com/platform/manifest -b mingw

# Googlers, use
repo init -u \
    persistent-https://android.git.corp.google.com/platform/manifest -b mingw

To build, run build.sh. Run with --help for a list of options.