summaryrefslogtreecommitdiff
path: root/x86_64-linux-android/bin/g++
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-07-17 17:35:46 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2013-08-02 21:44:40 -0700
commit6ed8bc71997e0dc6877bccc1e2ce75a73b6d8b56 (patch)
tree43677cb21e54f3b9512a2a222d353b7728eb8499 /x86_64-linux-android/bin/g++
parent4ddebe05a38829b8630c9271019895ed68d78ec1 (diff)
downloadx86_64-linux-android-4.7-6ed8bc71997e0dc6877bccc1e2ce75a73b6d8b56.tar.gz
New x86 toolchain: x86_64-linux-android-4.7 (darwin-x86)
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 cd $AOSP/development/ndk/platforms/android-9 ln -s arch-x86 arch-x86_64 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.7 --try-64 rm -rf $NDK/toolchains/x86_64-4.7/prebuilt/darwin-x86_64/sysroot cp -a $NDK/toolchains/x86_64-4.7/prebuilt/darwin-x86_64/* \ $AOSP/prebuilts/gcc/darwin-x86_64/x86/x86_64-linux-android-4.7 Change-Id: Id5f67bc627cad1d7f28c7c7cafd7ca286d8c2422
Diffstat (limited to 'x86_64-linux-android/bin/g++')
l---------x86_64-linux-android/bin/g++1
1 files changed, 1 insertions, 0 deletions
diff --git a/x86_64-linux-android/bin/g++ b/x86_64-linux-android/bin/g++
new file mode 120000
index 0000000..33306a9
--- /dev/null
+++ b/x86_64-linux-android/bin/g++
@@ -0,0 +1 @@
+../../bin/x86_64-linux-android-g++ \ No newline at end of file