commit | 84681b66709a5f687f8747a2de94c5f22486cec3 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Thu Dec 29 15:08:09 2016 +0100 |
committer | David 'Digit' Turner <digit@google.com> | Thu Dec 29 21:25:17 2016 +0100 |
tree | 135709b3b51ed66845e17dfa4113301ce6484699 | |
parent | 660e30709964dd21b06241ab1ddf0a60d780c613 [diff] |
build.sh: Add --gcc-version=<version> option. This adds an option to specify an alternate version of GCC, which sources must still be under toolchain/gcc/, e.g. if --gcc-version=6.2.0 is used, then this will look for toolchain/gcc/gcc-6.2.0 and will generate a package named x86_64-linux-gcc-6.2.tar.bz2 This is mostly useful for experimentation when trying to update to a newer toolchain. + Remove unused variables: ARCH, FORCE_ALL and FORCE_BUILD Change-Id: Idef93abeb9f860ec75a4b780f58aa015205b37ed
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.