b/26525039

Clone this repo:

Branches

  1. d23e622 Upgrade Linux host toolchain from glibc 2.11 to 2.15 by Ryan Prichard · 8 weeks ago master
  2. fe8a90d Build libgcc_{s,eh}.a by Pirama Arumuga Nainar · 5 months ago
  3. 5b8a188 Update binutils version number to 2.27 by Pirama Arumuga Nainar · 5 months ago
  4. da9c147 Fix the build: Add library file from Mingw-w64 5.0.0 by David 'Digit' Turner · 1 year, 4 months ago
  5. e9045bf build.sh: Enable LTO and plugins for binutils by David 'Digit' Turner · 1 year, 4 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.