Changes between Version 55 and Version 56 of Getting-Started/Android
- Timestamp:
- Aug 3, 2015 8:56:27 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Android
v55 v56 39 39 40 40 Notes: 41 * to build for other targets, e.g: arm64 (arm64-v8a), x86, or armv7, instead of just '{{{./configure-android}}}', specify the target arch in TARGET_ABI and run it, for example:41 * To '''build for other targets''' such as arm64-v8a, armeabi-v7a, x86, instead of just '{{{./configure-android}}}', specify the target arch in TARGET_ABI and run it with {{{--use-ndk-cflags}}}, for example: 42 42 {{{ 43 43 TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags 44 44 }}} 45 * for some targets, there may be error like 45 Also you should adjust [https://developer.android.com/ndk/guides/abis.html#gc Application.mk] and [https://developer.android.com/ndk/guides/abis.html#am library packaging path] (see also #1803). 46 * For some targets, there may be error like 46 47 {{{ 47 48 error: undefined reference to '__stack_chk_fail_local' 48 49 }}} 49 50 this can be fixed by adding {{{-fno-stack-protector}}} into CFLAGS, e.g: via {{{user.mak}}} file. 50 * for 64bit targets (e.g: arm64-v8a), it might be necessary to do some changes, which is explained in detail in #180351 * the {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target.52 * you may pass standard {{{./configure}}} options to this script too.53 * for more info, run {{{./configure-android --help}}}54 * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 51 * The {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target. 52 * You may pass standard {{{./configure}}} options to this script too. 53 * For more info, run {{{./configure-android --help}}}. 54 * Other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 55 55 56 == Video Support == 56 57