Switch toolchain from gcc-4.4.0 to gcc-4.4.3
gcc-4.4.3 toolchain is based on fsf GCC-4.4.3 with numerous patches. It reduces 3.65% code size than the prebuilt gcc-4.4.0 toolchain, and improves 3.4% performance on Android benchmarks. The toolchain uses gold as default linker. With gold, the toolchain further reduces 1MB system image. Change-Id: I55eb4df185f2932e71498fcc28428e4d1b175393
This commit is contained in:
@@ -144,13 +144,13 @@ def SetupToolsPath():
|
||||
uname = "darwin-ppc"
|
||||
elif uname == "Linux":
|
||||
uname = "linux-x86"
|
||||
prefix = "./prebuilt/" + uname + "/toolchain/arm-eabi-4.4.0/bin/"
|
||||
prefix = "./prebuilt/" + uname + "/toolchain/arm-eabi-4.4.3/bin/"
|
||||
addr2line_cmd = prefix + "arm-eabi-addr2line"
|
||||
|
||||
if (not os.path.exists(addr2line_cmd)):
|
||||
try:
|
||||
prefix = os.environ['ANDROID_BUILD_TOP'] + "/prebuilt/" + uname + \
|
||||
"/toolchain/arm-eabi-4.4.0/bin/"
|
||||
"/toolchain/arm-eabi-4.4.3/bin/"
|
||||
except:
|
||||
prefix = "";
|
||||
|
||||
|
Reference in New Issue
Block a user