From 665c16ae26cae6ca9e7aeb801638e46f6506e3e8 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Sun, 22 Sep 2013 14:03:39 +0800 Subject: New x86 toolchain: x86_64-linux-android-4.8 This toolchain can generates x86, x32, and x86_64 (default) code. Android build system already adds "-m32" to HOST_GLOBAL_CFLAGS and HOST_GLOBAL_LDFLAGS for projects to compiled in x86. Build instructions: export AOSP=your-AOSP-path export NDK=$AOSP/ndk cd $NDK ; ./build/tools/dev-cleanup.sh ./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src ./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --arch=x86_64 ./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK x86_64-4.8 --try-64 rm -rf $NDK/toolchains/x86_64-4.8/prebuilt/linux-x86_64/sysroot cp -a $NDK/toolchains/x86_64-4.8/prebuilt/linux-x86_64/* \ $AOSP/prebuilts/gcc/linux-x86_64/x86/x86_64-linux-android-4.8 Change-Id: Ibfb04cdb0ea9943f7b090c532df7832b6d0d35ef --- bin/x86_64-linux-android-strip | Bin 0 -> 1035400 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 bin/x86_64-linux-android-strip (limited to 'bin/x86_64-linux-android-strip') diff --git a/bin/x86_64-linux-android-strip b/bin/x86_64-linux-android-strip new file mode 100755 index 0000000..973fc1e Binary files /dev/null and b/bin/x86_64-linux-android-strip differ -- cgit v1.2.3