commit | 2b2fba4c210788ab3867638889d20adcd4a0520b | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Mon Nov 16 16:00:31 2015 -0500 |
committer | Than McIntosh <thanm@google.com> | Fri Nov 20 12:56:24 2015 -0500 |
tree | 707ae3ae21462130441b8b70fcee95105ac29053 | |
parent | fc9fa2185e6000f3f81ae18e8f81107021b70a14 [diff] |
Tweak rules for building debuggable gcc + tools. Override CXXFLAGS when building for debugging (so as to insure that C++ code is compiled correctly as well as C code). Change-Id: I70e285be236b33f07594aef2adbf2fbd73b4a909
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