commit | c82a2517402214b5c2fd9dd32554f568c60b1eeb | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Tue Jan 24 13:35:12 2017 -0800 |
committer | Caroline Tice <cmtice@google.com> | Tue Jan 24 13:35:12 2017 -0800 |
tree | 6c5664c57533b075335bb3400af68d8791db948f | |
parent | 41f3e25635616c067b9ee272304e6f86ac8ee9db [diff] |
[GCC] Add '--disable-multilib' to gcc configuration. Disabling multilibs fixes the GCC builds for both MIPS and x86_64. Without this, the GCC compiler fails to build for those architectures. Bug: None Test: Ran build.py without '--toolchain' flag; it successfully built all of the compilers. Change-Id: I018825177e77812a705db54cdad468239e48a87f
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.
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):
Mac OS X also requires Xcode.
# Additional options and toolchain names will be show with --help. $ python build.py --toolchain TOOLCHAIN_NAME
$ python build.py --system windows TOOLCHAIN_NAME