b/26525039

Clone this repo:

Branches

  1. fe8a90d Build libgcc_{s,eh}.a by Pirama Arumuga Nainar · 3 months ago master
  2. 5b8a188 Update binutils version number to 2.27 by Pirama Arumuga Nainar · 3 months ago
  3. da9c147 Fix the build: Add library file from Mingw-w64 5.0.0 by David 'Digit' Turner · 1 year, 1 month ago
  4. e9045bf build.sh: Enable LTO and plugins for binutils by David 'Digit' Turner · 1 year, 2 months ago
  5. 84681b6 build.sh: Add --gcc-version=<version> option. by David 'Digit' Turner · 1 year, 2 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.