commit | 02467650210aab057ba17ec43a94d17e001f62af | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Dec 29 14:57:20 2015 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Dec 29 15:06:25 2015 -0800 |
tree | dc42b1484e2981121576fc08845f65387fae0e00 | |
parent | 6fad13f43a0c072c535876d4d503f118869c5f81 [diff] |
Create -androidkernel toolchain symlinks. This commit creates a set of toolchain symlinks for kernel builds that point to the regular toolchain binaries, except with ld pointing to bfd instead of gold. Bug: http://b/25371547 Change-Id: I519cb69f89ea58d7c332ebad00de25b4c5bea19f
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