commit | 0fe7d085a96f8ab6169d663b2f45bca2df9c54ca | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Thu Mar 31 23:14:47 2016 -0700 |
committer | Caroline Tice <cmtice@google.com> | Thu Mar 31 23:14:47 2016 -0700 |
tree | 6c59c3f34d55198a16f4583e128829cbd5e31fc8 | |
parent | aec28b44e467a139d5f5cefe038e3f4a30dfc478 [diff] |
[ndk gcc] Finish fixing the libatomic IFUNC problem. The previous CL, with --enable-libatomic-ifuncs, was missing an important piece. This fixes that problem. (See https://buganizer.corp.google.com/issues/22699878) Change-Id: I42f9529f5e40187843a9a55ae80874eb8fae2a22
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