diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-07-17 15:35:49 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-02 21:41:25 -0700 |
commit | 7f61ceb88132c4329380c0cf9634e305dda9fe76 (patch) | |
tree | 89ca063758a2407e3de4e14aa478acd7a8c8c4a2 /lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o | |
parent | bbe08f8958377ba3a06f4081ed13b2399db448fb (diff) | |
download | x86_64-linux-android-4.7-7f61ceb88132c4329380c0cf9634e305dda9fe76.tar.gz |
New x86 toolchain: x86_64-linux-android-4.7
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.7 --try-64
rm -rf $NDK/toolchains/x86_64-4.7/prebuilt/linux-x86_64/sysroot
cp -a $NDK/toolchains/x86_64-4.7/prebuilt/linux-x86_64/* \
$AOSP/prebuilts/gcc/linux-x86_64/x86/x86_64-linux-android-4.7
Change-Id: Iddb5246ff74c39feea79539e4471d5ddc15afe5c
Diffstat (limited to 'lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o')
-rw-r--r-- | lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o | bin | 0 -> 2484 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o b/lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o Binary files differnew file mode 100644 index 0000000..a90ff07 --- /dev/null +++ b/lib/gcc/x86_64-linux-android/4.7/x32/crtbeginS.o |