Age | Commit message (Collapse) | Author |
|
See previous commit for build instructions. Note that
x86_64-linux-android-4.8 is no longer maintained. We should move on
to x86_64-linux-android-4.9
BUG=18174291
Change-Id: I7bfd05b66abfa3353a809a3ecce0fd488e0a9238
|
|
Taken from NDK r9d+. See previous commit for build instructions
Change-Id: Ice785e5a9057502377e473237a4e83084fe56079
|
|
See prev commit for build instructions
Change-Id: I4aff14f625ddd599bb7017da74a1501f52342c0c
|
|
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
|
|
|