Clone this repo:
  1. 7fc85b5 [owners] Remove rahulchaudhry@google.com from OWNERS by Owner Cleanup Bot · 9 weeks ago main master
  2. d014051 [owners] Remove cmtice@google.com from OWNERS by Owner Cleanup Bot · 9 weeks ago
  3. d2ea2d3 [owners] Remove manojgupta@google.com from OWNERS by Owner Cleanup Bot · 10 weeks ago
  4. 9c4ba84 [owners] Remove llozano@google.com from OWNERS by Owner Cleanup Bot · 10 weeks ago
  5. a9d5e6f Remove support for 32-bit Windows. by Dan Albert · 6 years ago busytown-mac1008-release busytown-mac1010-release ndk-release-r21 ndk-release-r22 ndk-release-r23 ndk-r21 ndk-r21-beta1 ndk-r21-beta2 ndk-r21-rc1 ndk-r21b ndk-r21c ndk-r21d ndk-r21e ndk-r22 ndk-r22-beta1 ndk-r23-beta1 ndk-r23-beta2 ndk-r23-beta3 ndk-r23-beta4 ndk-r23-beta5 ndk-r23-beta6

Building GCC for Android

The following process is used to build the GCC that is used by both the Android platfrom and the NDK.

Both Linux and Windows toolchains are built on Linux machines. Windows host binaries are built with mingw. Building binaries for Mac OS X should be built using 10.8 to ensure compatibility with Android's minimum supported hosts.

Prerequisites

  • Android GCC Repository

    • Check out the branch gcc

      repo init -u https://android.googlesource.com/platform/manifest -b gcc
      
      # Googlers, use
      repo init -u \
          persistent-https://android.git.corp.google.com/platform/manifest \
          -b gcc
      
  • Additional Linux Dependencies (available from apt):

    • texinfo
    • gcc-mingw32
    • bison
    • flex
    • libtool
  • Mac OS X also requires Xcode.

Host/Target prebuilts

For Linux or Darwin:

# Additional options and toolchain names will be show with --help.
$ python build.py --toolchain TOOLCHAIN_NAME

For Windows, from Linux:

$ python build.py --system windows TOOLCHAIN_NAME