summaryrefslogtreecommitdiff
path: root/lib/gcc/x86_64-linux-android/4.8/include/stdint.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-09-22 14:03:39 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-09-22 14:03:39 +0800
commit665c16ae26cae6ca9e7aeb801638e46f6506e3e8 (patch)
tree7ca168312c5bfa41d98a14462d80198a62f1e966 /lib/gcc/x86_64-linux-android/4.8/include/stdint.h
parent7e53fb449910f33944be6f7aadeea41f83583dcd (diff)
downloadx86_64-linux-android-4.8-665c16ae26cae6ca9e7aeb801638e46f6506e3e8.tar.gz
New x86 toolchain: x86_64-linux-android-4.8android-4.4w_r1kitkat-wearidea133
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
Diffstat (limited to 'lib/gcc/x86_64-linux-android/4.8/include/stdint.h')
-rw-r--r--lib/gcc/x86_64-linux-android/4.8/include/stdint.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/gcc/x86_64-linux-android/4.8/include/stdint.h b/lib/gcc/x86_64-linux-android/4.8/include/stdint.h
new file mode 100644
index 0000000..83b6f70
--- /dev/null
+++ b/lib/gcc/x86_64-linux-android/4.8/include/stdint.h
@@ -0,0 +1,14 @@
+#ifndef _GCC_WRAP_STDINT_H
+#if __STDC_HOSTED__
+# if defined __cplusplus && __cplusplus >= 201103L
+# undef __STDC_LIMIT_MACROS
+# define __STDC_LIMIT_MACROS
+# undef __STDC_CONSTANT_MACROS
+# define __STDC_CONSTANT_MACROS
+# endif
+# include_next <stdint.h>
+#else
+# include "stdint-gcc.h"
+#endif
+#define _GCC_WRAP_STDINT_H
+#endif